#include <bits/stdc++.h>
using namespace std;
int n = 35000;
struct Tprogram {
  void Open() {
    freopen("", "r", stdin);
    freopen("", "w", stdout);
  }
  void Close() {
    fclose(stdin);
    fclose(stdout);
  }
  void Init() {
    puts("302");
    puts("0 500000\n");
    for (int i = 300; i > 0; i--) {
      printf("%d %d\n", n, i);
      n += 2 * i - 1;
    }
    puts("999998 500000");
  }
  void Work() {}
} program;
int main() {
  program.Init();
  return 0;
}
