#include <bits/stdc++.h>
int main() {
  printf("302\n");
  printf("0 500000\n");
  int x = 24495, y = 300;
  printf("%d %d\n", x, y);
  for (int i = 1; i <= 299; i++) {
    x = x + y * 2 - 1;
    y--;
    printf("%d %d\n", x, y);
  }
  printf("500000 500000\n");
  return 0;
}
