#include <bits/stdc++.h>
using namespace std;
double const pi = 2 * acos(0);
double const eps = 10e-9;
int main() {
  ios_base::sync_with_stdio(0);
  int nx = 100000;
  cout << "302\n";
  cout << "0 500000\n";
  for (int i = (0); i < (300); ++i) {
    cout << nx << " " << 300 - i << "\n";
    nx += 300 - i + 300 - i - 1;
  }
  cout << "900000 900000\n";
  return 0;
}
