#include <bits/stdc++.h>
using namespace std;
long long r[510];
long long x[510];
int main() {
  printf("%d\n", 302);
  x[0] = 0;
  r[0] = 500000;
  r[1] = 300;
  x[1] = 24495;
  for (int i = 2; i <= 300; ++i) {
    r[i] = r[i - 1] - 1;
    x[i] = x[i - 1] + ceil(sqrt(4 * r[i] * r[i - 1]));
  }
  r[301] = 1e6;
  x[301] = x[300] + ceil(sqrt(4 * r[301] * r[300]));
  for (int i = 0; i < 302; ++i) printf("%I64d %I64d\n", x[i], r[i]);
}
