Integer Square

아직 제출이 없습니다시간 제한2초메모리 제한512 MB

문제

Iris likes to draw different shapes on a grid paper. Her favorite shape is a square. She has recently tried to draw a square with area ss, but since she uses a grid paper, she wants all the vertices of the square to have integer coordinates.

Can you help her find such a square?

입력

The input contains a single integer ss (1s10001\le s\le 1000).

출력

If it is possible to construct the required square, output four pairs of integers: the coordinates of the vertices of the square, in any order. All coordinates should be in the range from 109-10^9 to 10910^9. If there are multiple answers, output any of them.

If it is impossible to construct the required square, print "Impossible".