Your city is in the non-negative part of the coordinate axis. You stay at point (0, 0). All other points contain trees.
You want to view all of your city. You are required to know how far you cannot see the city. You must answer the following question:
Where is the nearest square n×n of points such that you cannot see any of the trees?
You cannot see a tree if and only if on the line between you and the tree there must be another tree.

Input

The first and only line contains integer n denoting the desired square side length. (2n14)

Output

In a line, print two space-separated integers denoting the lower-left corner of the square and it contains at most 100 digits.

SAMPLE INPUT
1
SAMPLE OUTPUT
0 2



    







Solution

n= int(input() )
if n==1:
print(0,2)
elif n==2:
print(20,14)
else:

print(-1024,-1024)



if you have any problem in this code, take a screenshot and contact with Rishabh Chaubey.

Post a Comment

Previous Post Next Post