#include using namespace std; using ll = long long; ll isqrt(ll x) { ll ret = sqrt(x); ret = max(0ll, ret - 10); while (ret * ret <= x) { ret ++; } ret --; return ret; } int main () { int N = 1000000; ll X = (ll)1e9; cout << N << endl; for (ll i = 0; i < N - 1; i ++) { cout << X - i << " " << isqrt(X * X - (X - i) * (X - i)) << endl; } cout << "0 0" << endl; }