#include <bits/stdc++.h>
using namespace std;
long long sq(int x) { return (long long)x * x; }
const int A = 100000, B = 1000000;
int main(int argc, char *argv[]) {
  int X = 0;
  double R = A;
  printf("335\n");
  printf("%d %d\n", X, A);
  for (int i = 0; i < (333); i++) {
    int Nx = 2 * R - 1e-9 + X;
    if (!i) Nx = 10000;
    R = (double)(Nx - X) * (Nx - X) / (4 * R);
    X = Nx;
    printf("%d %d\n", X, B);
  }
  printf("%d %d\n", (int)sqrt(sq(B + A) - sq(B - A)) - 10, B);
  return 0;
}
