import math as mh

print(mh.cos(mh.pi/4))
