{"raw_statement":[{"iden":"problem statement","content":"On a two-dimensional coordinate plane where the $\\mathrm{x}$ axis points to the right and the $\\mathrm{y}$ axis points up, we have a regular $N$\\-gon with $N$ vertices $p_0, p_1, p_2, \\dots, p_{N - 1}$.  \nHere, $N$ is guaranteed to be even, and the vertices $p_0, p_1, p_2, \\dots, p_{N - 1}$ are in counter-clockwise order.  \nLet $(x_i, y_i)$ denotes the coordinates of $p_i$.  \nGiven $x_0$, $y_0$, $x_{\\frac{N}{2}}$, and $y_{\\frac{N}{2}}$, find $x_1$ and $y_1$."},{"iden":"constraints","content":"*   $4 \\le N \\le 100$\n*   $N$ is even.\n*   $0 \\le x_0, y_0 \\le 100$\n*   $0 \\le x_{\\frac{N}{2}}, y_{\\frac{N}{2}} \\le 100$\n*   $(x_0, y_0) \\neq (x_{\\frac{N}{2}}, y_{\\frac{N}{2}})$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$\n$x_0$ $y_0$\n$x_{\\frac{N}{2}}$ $y_{\\frac{N}{2}}$"},{"iden":"sample input 1","content":"4\n1 1\n2 2"},{"iden":"sample output 1","content":"2.00000000000 1.00000000000\n\nWe are given $p_0 = (1, 1)$ and $p_2 = (2, 2)$.  \nThe fact that $p_0$, $p_1$, $p_2$, and $p_3$ form a square and they are in counter-clockwise order uniquely determines the coordinates of the other vertices, as follows:\n\n*   $p_1 = (2, 1)$\n*   $p_3 = (1, 2)$"},{"iden":"sample input 2","content":"6\n5 3\n7 4"},{"iden":"sample output 2","content":"5.93301270189 2.38397459622"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}