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