The following languages are additionally available for the problems from the contest

April Fools Day Contest 2014:

- Mysterious Language

Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ACM-ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.

No tag edit access

E. Dome

time limit per test

1 secondmemory limit per test

256 megabytesinput

standard inputoutput

standard outputInput

The input contains a single floating-point number *x* with exactly 6 decimal places (0 < *x* < 5).

Output

Output two integers separated by a single space. Each integer should be between 1 and 10, inclusive. If several solutions exist, output any of them. Solution will exist for all tests.

Examples

Input

1.200000

Output

3 2

Input

2.572479

Output

10 3

Input

4.024922

Output

9 9

Codeforces (c) Copyright 2010-2018 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Mar/24/2018 07:10:51 (d1).

Desktop version, switch to mobile version.

User lists

Name |
---|