Testing Round 6
D
Polygon
Codeforces
2300
原题
← C→
翻译中…

Polycarpus loves convex polygons, especially if all their angles are the same and all their sides are different. Draw for him any such polygon with the given number of vertexes.

翻译中…

Input

翻译中…

The input contains a single integer $*n*$ ($3 ≤ *n* ≤ 100$) — the number of the polygon vertexes.

翻译中…

Output

翻译中…

Print $*n*$ lines, containing the coordinates of the vertexes of the $*n*$-gon "$*x*_{*i*}$ $*y*_{*i*}$" in the counter clockwise order. The coordinates of the vertexes shouldn't exceed $10^{6}$ in their absolute value. The side lengths should fit within limits $[1, 1000]$ (not necessarily integer). Mutual comparing sides and angles of your polygon during the test will go with precision of $10^{ - 3}$.

翻译中…

If there is no solution, print "No solution" (without the quotes).

翻译中…

样例

Input #1
8
Output #1
1.000 0.000
7.000 0.000
9.000 2.000
9.000 3.000
5.000 7.000
3.000 7.000
0.000 4.000
0.000 1.000
InputCopy OutputCopy
题目信息
题号
306D
所属比赛
时间限制
1 s
内存限制
256 MB
标签
构造
计算几何

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。