from math import atan
from math import degrees

ab = int(input())
bc = int(input())

print(round(degrees(atan((ab / 2) / (bc / 2)))))
09c94742990b6badc359222130257c72e1ffc29c
<mask token>

<mask token>
print(round(degrees(atan(ab / 2 / (bc / 2)))))

<mask token>
ab = int(input())
bc = int(input())
print(round(degrees(atan(ab / 2 / (bc / 2)))))

from math import atan
from math import degrees
ab = int(input())
bc = int(input())
print(round(degrees(atan(ab / 2 / (bc / 2)))))

from math import atan
from math import degrees

ab = int(input())
bc = int(input())

print(round(degrees(atan((ab / 2) / (bc / 2)))))