#include <bits/stdc++.h>
using namespace std;
const long double EPS = 1e-8;
const int INF = 1000000001;
int p[501];
int x[501];
int main() {
  int n = 323;
  x[0] = 0;
  p[0] = 100000;
  x[1] = 1324;
  p[1] = 324;
  for (int i = 2; i < n - 1; ++i) {
    p[i] = p[i - 1] - 1;
    x[i] = x[i - 1] + p[i - 1] + p[i];
  }
  p[n - 1] = 1000000;
  x[n - 1] = 500000;
  cout << n << '\n';
  for (int i = 0; i < (n); i++) {
    cout << x[i] << ' ' << p[i] << '\n';
  }
  return 0;
}
