Score : 1500 points
Construct an N-gon that satisfies the following conditions:
In case there are multiple possible answers, you can output any.
A polygon is called simple if each edge has a positive length, and no two edges have a common point (except for adjacent edges touching at a vertex).
The input is given from Standard Input in the following format:
N a_1 : a_N
In case the answer exists, print the answer in the following format:
x_1 y_1 : x_N y_N
Here (x_i, y_i) are the coordinates of the i-th vertex.
In case the answer doesn't exist, print a single -1
.
8 90 90 270 90 90 90 270 90
0 0 2 0 2 1 3 1 3 2 1 2 1 1 0 1
3 90 90 90
-1