#include <bits/stdc++.h>
using namespace std;
inline int readint() {
  char c = ' ';
  int g = 0, l = 1;
  while (!isdigit(c) && c != '-') c = getchar();
  if (c == '-') l = -1, c = getchar();
  while (isdigit(c)) g = g * 10 + c - 48, c = getchar();
  return g * l;
}
const int INF = (-1u) >> 2;
const double EPS = 1e-8;
const double PI = acos(-1.0);
const int MAXN = 2010;
int p[MAXN], r[MAXN];
int main() {
  puts("302");
  puts("0 1000000");
  p[0] = 100000, r[0] = 301;
  for (int i = 1; i <= 300; i++) {
    r[i] = r[i - 1] - 1, p[i] = p[i - 1] + 2 * r[i - 1];
    printf("%d %d\n", p[i], r[i]);
  }
  puts("1000000 1000000");
  return 0;
}
