Inaho is very close to home! After leaving the
Inaho does have a few hints for you, though. He suspects that the solution to the locks has something to do with complex numbers. More specifically, he suspects that the solution to the two locks require the
The
where only the principal branch of the natural logarithm is used.
Input Specification
The first line will contain the integer
Subtasks
For 1 of the 10 available marks,
For an additional 1 of the 10 available marks,
For an additional 1 of the 10 available marks,
Output Specification
On the first line, output the real component of the
On the second line, output the imaginary component of the
Outputs with a relative or absolute error of
Sample Input
1
Sample Output
0.0000
1.0000
Comments