[input() for _ in range(3)] x, y = [int(x) for x in input().split()] print(4) print(x + 1, y) print(x - 1, y) print(x, y + 1) print(x, y - 1)