#include <bits/stdc++.h>
const int n = 302;
int main() {
  printf("%d\n", n + 2);
  puts("0 1000000");
  int pos = 100000;
  for (int i = 0; i < n; i++) {
    printf("%d %d\n", pos, n - i);
    pos += n * 2 - i * 2 - 1;
  }
  printf("%d 1000000\n", pos + 100000);
}
