#include <bits/stdc++.h>
using namespace std;
int n = 302;
int main() {
  printf("%d\n", n);
  int cur = 11000;
  printf("%d %d\n", 0, 100000);
  for (int i = 300; i >= 1; --i) {
    printf("%d %d\n", cur, i);
    double x = sqrt(4.0 * i * (i - 1)) + 1;
    cur += int(x);
  }
  cur += 11000;
  printf("%d %d\n", cur, 100000);
  return 0;
}
