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;
const double pi = acos(-1.0);
struct P {
  double x, y;
  P(double x = 0, double y = 0) : x(x), y(y) {}
  P operator+(P p) { return P(x + p.x, y + p.y); }
  P operator-(P p) { return P(x - p.x, y - p.y); }
  double operator*(P p) { return (x * p.x + y * p.y); }
  P operator*(double d) { return P(x * d, y * d); }
  P rot(double a) {
    return P(x * cos(a) - y * sin(a), x * sin(a) + y * cos(a));
  }
} ns[110], vet = P(1, 0);
double ls[110];
int cmp(double a, double b) {
  if (fabs(a - b) <= 1e-3) return 0;
  return (a < b) ? -1 : 1;
}
int main() {
  int n;
  scanf("%d", &n);
  srand(time(NULL) * 1337);
  double ang = 2.0 * pi / n;
  if (n <= 4)
    puts("No solution");
  else
    while (1) {
      P tmp = vet, ant = vet;
      ns[0] = P();
      bool ok = 1;
      for (int i = 1; i < n - 1; ++i) {
        ls[i] = (1.0 + 100.0 * (rand() / double(RAND_MAX)));
        for (int j = 1; j < i; ++j)
          if (cmp(ls[j], ls[i]) == 0) {
            i--;
            continue;
          }
        ns[i] = ns[i - 1] + tmp * ls[i];
        tmp = tmp.rot(ang);
        if (cmp(ang, acos(tmp * ant))) ok = 0;
        ant = tmp;
      }
      P um = tmp, dois = um.rot(ang), d = ns[0] - ns[n - 2];
      double b = (d.y - um.y * d.x / um.x) / (dois.y - um.y * dois.x / um.x);
      double a = (d.x - dois.x * b) / um.x;
      P veta = vet, vetb = dois;
      if (cmp(ang, acos(um * dois)) || cmp(ang, acos(dois * vet))) ok = 0;
      if (ok && a >= 1 && a <= 1000 && b >= 1 && b <= 1000) {
        ns[n - 1] = ns[n - 2] + um * a;
        for (int i = 0; i < n; ++i) printf("%lf %lf\n", ns[i].x, ns[i].y);
        break;
      }
    }
  return 0;
}