input() input() input() cx, cy = map(int, input().split()) print(4) print(cx-1, cy) print(cx+1, cy) print(cx, cy-1) print(cx, cy+1)