Problem: 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 "xi yi" in the counter clockwise order. The coordinates of the vertexes shouldn't exceed 106 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).

Examples

Input

8


Output

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

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
int n, i;
double a[11111];
double x[11111];
double y[11111];
double px, py, px1, py1;
double jiao, ag, cg;
int main() {
  scanf("%d", &n);
  if (n < 5) {
    printf("No solution\n");
    return 0;
  }
  for (i = 1; i <= n; i++) a[i] = 500;
  jiao = M_PI * 2.0 / n;
  ag = 2;
  cg = 1 / cos(jiao);
  a[1] += 1 * ag, a[n] -= 1 * cg, a[2] -= 1 * cg;
  for (i = 2; i < n; i++)
    a[i] += i * ag, a[i - 1] -= i * cg, a[i + 1] -= i * cg;
  a[n] += n * ag, a[n - 1] -= n * cg, a[1] -= n * cg;
  x[0] = y[0] = 500000;
  px = 1, py = 0;
  ag = cos(jiao);
  cg = sin(jiao);
  for (i = 1; i <= n; i++) {
    x[i] = x[i - 1] + a[i] * px;
    y[i] = y[i - 1] + a[i] * py;
    px1 = px * ag - py * cg;
    py1 = py * ag + px * cg;
    px = px1;
    py = py1;
  }
  for (i = 1; i <= n; i++) printf("%.3lf %.3lf\n", x[i], y[i]);
  return 0;
}