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