import math
intro = input()
height, angle = intro.split(' ')
sol = int(height)/math.sin(math.radians(int(angle)))
print(math.ceil(sol))