from math import *;print(tan(float(input())*pi/180)*10)
