from math import cos, pi

print(cos(pi/4))
