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;
struct Point {
  double x, y;
  Point() {}
  Point(double _, double __) : x(_), y(__) {}
  friend Point operator+(const Point& p1, const Point& p2) {
    return Point(p1.x + p2.x, p1.y + p2.y);
  }
  friend Point operator-(const Point& p1, const Point& p2) {
    return Point(p1.x - p2.x, p1.y - p2.y);
  }
  friend double operator*(const Point& p1, const Point& p2) {
    return p1.x * p2.y - p1.y * p2.x;
  }
  friend Point operator*(const Point& p, double rate) {
    return Point(p.x * rate, p.y * rate);
  }
  friend Point Rotate(const Point& p, double alpha) {
    return Point(p.x * cos(alpha) - p.y * sin(alpha),
                 p.x * sin(alpha) + p.y * cos(alpha));
  }
} ans[110];
struct Line {
  Point p, v;
  Line() {}
  Line(const Point& _, const Point& __) : p(_), v(__) {}
  friend Point Get_Intersection(const Line& l1, const Line& l2) {
    Point u = l1.p - l2.p;
    double temp = (l2.v * u) / (l1.v * l2.v);
    return l1.p + l1.v * temp;
  }
};
int n;
int main() {
  int i;
  cin >> n;
  if (n <= 4) return cout << "No solution" << endl, 0;
  Point v(-1, 0);
  double len = 450.0, delta = 0.005;
  double alpha = 2.0 * 3.1415926535897932 / n;
  for (i = 1; i < n; i++) {
    ans[i] = ans[i - 1] + v * len;
    len += delta;
    v = Rotate(v, -alpha);
  }
  ans[n] =
      Get_Intersection(Line(ans[n - 1], v), Line(Point(0, 0), Point(1, 0)));
  for (i = n; i; i--) printf("%.10lf %.10lf\n", ans[i].x, ans[i].y);
  return 0;
}