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