The plane is divided into equal squares, which are filled with numbers from to infinity in the form of a spiral in a clockwise direction:

Given a positive integer . Find two neighboring cells (sharing a side or a corner) such that the sum of their values is .
The first line contains one integer (1 \leq N \leq 1000).
Output two integers, the smallest such neighbors in ascending order, whose sum is , separated by a space.
Example 1