#include <bits/stdc++.h>
using namespace std;
const int oo = 0x3f3f3f3f;
const int maxn = 100;
int main() {
  double x = 0, y = 0;
  double a = 1, b = 0;
  double len = 100;
  int n;
  scanf("%d", &n);
  if (n <= 4) return puts("No solution"), 0;
  double rad = 2 * M_PI / n;
  for (int i = (0), _end_ = (n); i != _end_; ++i) {
    x += a * len, y += b * len;
    if (i == n - 1) x -= y * a / b, y = 0;
    double aa, bb;
    len += 0.002;
    aa = a * cos(rad) - b * sin(rad), bb = a * sin(rad) + b * cos(rad);
    a = aa, b = bb;
    printf("%lf %lf\n", x, y);
  }
  return 0;
}
