input() input() input() cx, cy = map(int, input().split()) print(4) for dx in (-1, 1): for dy in (-1, 1): print(cx + dx, cy + dy)