#include <bits/stdc++.h>
using namespace std;
const int INF = 2147483647;
const long long LLINF = 9223372036854775807LL;
int main() {
  cout << "352\n";
  cout << "0 1000000\n";
  int start = 200000;
  for (int i = 350; i >= 1; i--) {
    cout << start << " " << i << "\n";
    start += 2 * i + 10;
  }
  cout << "1000000 1000000\n";
  return 0;
}
