#include <bits/stdc++.h>
using namespace std;
int main() {
  int n = 1000 + 1000 + 1;
  printf("%d\n", n);
  for (int i = (int)(1); i <= (int)(1000); ++i)
    printf("%d %d %d %d\n", i, 1, i, 2);
  puts("1 1 1 2");
  for (int i = (int)(1); i <= (int)(1000); ++i)
    printf("%d %d %d %d\n", i, 1, i, 2);
  return 0;
}
