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