#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
const long long INF_LL = 4e18;
const double pi = acos(-1.0);
template <class T>
T& smin(T& a, const T& b) {
  if (a > b) a = b;
  return a;
}
template <class T>
T& smax(T& a, const T& b) {
  if (a < b) a = b;
  return a;
}
template <class T>
T sqr(const T& a) {
  return a * a;
}
template <typename Iterator>
void print(const char* fmt, Iterator begin, Iterator end,
           const char* separator = " ", const char* closing = "\n") {
  for (Iterator it = begin; it != end;
       printf(fmt, *it), printf("%s", ++it == end ? closing : separator))
    ;
}
int main() {
  cin.tie(NULL);
  int n = 1000;
  printf("%d\n", 2 * n + 1);
  for (int i(0), _b(n); i < _b; ++i) printf("%d 1 %d 2\n", i + 1, i + 1);
  printf("1 1 1 2\n");
  for (int i(0), _b(n); i < _b; ++i) printf("%d 1 %d 2\n", i + 1, i + 1);
  return 0;
}
