#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1000000;
const int MOD = 1000000007;
const int INF = ((1 << 31) - 1);
int main() {
  puts("2001");
  for (int i = (0), _for = (1000); i < _for; ++i)
    printf("%d %d %d %d\n", i + 1, 1, i + 1, 2);
  puts("1 1 2 2");
  for (int i = (0), _for = (1000); i < _for; ++i)
    printf("%d %d %d %d\n", i + 1, 1, i + 1, 2);
  return 0;
}
