#include <bits/stdc++.h>
using namespace std;
int main() {
  cout << "2000\n";
  for (int i = 1; i <= 1000; i++) {
    for (int j = 1; j <= 2; j++) {
      cout << i << " " << j << " ";
    }
    cout << "\n";
  }
  for (int i = 1000; i >= 1; i--) {
    for (int j = 1; j <= 2; j++) {
      cout << i << " " << j << " ";
    }
    cout << "\n";
  }
  return 0;
}
