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