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