#include <bits/stdc++.h>
using namespace std;
template <typename T1, typename T2>
inline void chkmin(T1 &x, T2 y) {
  if (x > y) x = y;
}
template <typename T1, typename T2>
inline void chkmax(T1 &x, T2 y) {
  if (x < y) x = y;
}
using ll = long long;
using ld = long double;
const string FILENAME = "input";
const double Pi = acos(-1);
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  if (n < 5) {
    cout << "No solution\n";
    return 0;
  }
  double arg = 0, t = Pi * 2 / n;
  double l = 100;
  double x = -l, y = 0;
  for (int i = 1; i < n; i++) {
    x += cos(arg) * l;
    y += sin(arg) * l;
    arg += t;
    cout << fixed << x << ' ' << y << '\n';
    l += 0.002;
  }
  cout << fixed << x - y / tan(arg) << ' ' << 0 << '\n';
}
