#include <bits/stdc++.h>
using namespace std;
const long long N = 1e6 + 5;
long long n = 301 + 1;
long long x[N], p[N];
void out(long long a[], long long n);
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  x[0] = 0, x[n - 1] = 1e6;
  p[0] = 1e6, p[n - 1] = 1e6;
  for (long long i = 1; i < n - 1; i++) {
    p[i] = 300 - i + 1;
    x[i] = 2 * (long long)sqrt((long double)p[i] * (p[i - 1])) + x[i - 1] + 1;
  }
  cout << n << "\n";
  for (long long i = 0; i < n; i++) cout << x[i] << " " << p[i] << "\n";
  return 0;
}
void out(long long a[], long long n) {
  cout << a[0];
  for (long long i = 1; i < n; i++) cout << " " << a[i];
  cout << "\n";
}
