#include <bits/stdc++.h>
const int n = 300;
int main() {
  printf("%d\n", n + 2);
  int i;
  int r;
  int x;
  printf("0 1000000\n");
  for (i = 0; i < n; ++i) {
    printf("%d %d\n", 40000 + i * 1000, n - i);
  }
  printf("1000000 1000000\n");
}
