#include <bits/stdc++.h>
using namespace std;
int x[505], r[505];
int main() {
  int i;
  x[0] = 0;
  r[0] = 1000000;
  double dd;
  int d;
  for (i = 1; i <= 300; i++) {
    r[i] = 300 - i + 1;
    dd = 2 * sqrt(double(r[i - 1])) * sqrt(double(r[i]));
    d = int(dd + 3);
    x[i] = x[i - 1] + d;
  }
  x[301] = x[300] + 10000;
  r[301] = 1000000;
  printf("302");
  for (i = 0; i < 302; i++) {
    printf("\n%d %d", x[i], r[i]);
  }
  return 0;
}
