import math
numbers=list(map(int,input().split(" ")))
maximum=0
for i in numbers:
if math.sin(i)>maximum:
maximum=math.sin(i)
print(maximum)
import math
numbers=list(map(int,input().split(" ")))
maximum=0
for i in numbers:
if math.sin(i)>maximum:
maximum=math.sin(i)
print(maximum)