#include <bits/stdc++.h>
using namespace std;
const int T = 100000;
vector<int> x;
vector<int> p;
int main() {
  x.push_back(0);
  p.push_back(T - 1);
  int sum = T;
  for (int i = 1; i <= 301; i++) {
    sum += 302 - i;
    x.push_back(sum);
    p.push_back(302 - i);
    sum += 302 - i;
  }
  x.push_back(sum + 10000);
  p.push_back(T * 10);
  int n = (int)p.size();
  printf("%d\n", n);
  for (int i = 0; i < n; i++) printf("%d %d\n", x[i], p[i]);
  return 0;
}
