The input contains a single floating-point number *x* with exactly 6 decimal places (0 &lt; *x* &lt; 5).
from sys import stdin,stdout
from os import _exit
# from bisect import bisect_left,bisect
# from heapq import heapify,heappop,heappush
# from sys import setrecursionlimit
# from collections import defaultdict,Counter
# from itertools import permutations
from math import gcd,ceil,sqrt,factorial
# setrecursionlimit(int(1e5))
input,print = stdin.readline,stdout.write

def r(x,y):
    return round(x*y/sqrt(pow(x,2)+pow(y,2)),2)

n = round(float(input()),2)
for a in range(1,11):
    for h in range(1,11):
        if r(h,a/2)==n:
            print(str(a)+" "+str(h)+"\n")
            stdout.flush()
            _exit(0)
