Neighbour Coordinates

Problem Statement

For a cell at coordinates (x, y) in a table of size M × N, output the coordinates of its neighbours. Neighbours share a side with the given cell.

Input

Natural numbers M, N, x, and y are given (1 ≤ x ≤ M ≤ 10⁹, 1 ≤ y ≤ N ≤ 10⁹).

Output

Output the coordinate pairs of the neighbouring cells in any order.

Example

[{'input': '3 3\n2 2', 'output': '2 1\n1 2\n2 3\n3 2'}]