DEGwer owns a rectangular land $[-W, W] \times [-H, H]$ in the plane, and he is engaged in farming there. He is suffering from damage caused by birds and beasts, and he has decided to stretch beams that burn out creatures invading his land. Specifically, he will construct pillars having a sign, either $+$ or $-$, on integer grid points in his land, and then stretch a beam as a segment between **two pillars having different signs**. However, if two beams share a point without a pillar, then something horrible happens because of resonance of beam energy, and hence he has to let any two beams not share a point without a pillar.
DEGwer has decided $N$ integer grid points $(X_i, Y_i) \ (i = 1, 2, \dots, N)$ on which he will construct the pillars. These grid points include the four corners of his land, and any three among these grid points are not on a single line. Your mission is to maximize the number of stretched beams by determining the sign of each pillar and between which pillars beams are stretched.
## Constraints
* $1 \le W \le 10^9$
* $1 \le H \le 10^9$
* $4 \le N \le 10^5$
* $-W \le X_i \le W \ \ (1 \leq i \leq N)$
* $-H \le Y_i \le H \ \ (1 \leq i \leq N)$
* $(X_i, Y_i) \neq (X_j, Y_j) \ \ (i \neq j)$
* There exists an index $i$ such that $(X_i, Y_i) = (\pm W, \pm H)$ (for any pair of signs).
* When $i \neq j \neq k \neq i,$ the three grid points $(X_i, Y_i),$ $(X_j, Y_j),$ and $(X_k, Y_k)$ are not on a single line.
## Input
The input is given from Standard Input in the following format:
$W \ H$
$N$
$X_1 \ Y_1$
$X_2 \ Y_2$
$\vdots$
$X_N \ Y_N$
[samples]