import math
while True:
    try:
        entry = input().split(" ")
        A = float(entry[0])
        B = float(entry[1])
        C = float(entry[2])
        h = math.tan(math.radians(A))*B+C
        print("{0:.2f}".format(5*h))
    except EOFError:
        break
d04d902f8d62c2d2142b61b234c65a4baa0ae82a
<mask token>

<mask token>
while True:
    try:
        entry = input().split(' ')
        A = float(entry[0])
        B = float(entry[1])
        C = float(entry[2])
        h = math.tan(math.radians(A)) * B + C
        print('{0:.2f}'.format(5 * h))
    except EOFError:
        break

import math
while True:
    try:
        entry = input().split(' ')
        A = float(entry[0])
        B = float(entry[1])
        C = float(entry[2])
        h = math.tan(math.radians(A)) * B + C
        print('{0:.2f}'.format(5 * h))
    except EOFError:
        break

import math
while True:
    try:
        entry = input().split(" ")
        A = float(entry[0])
        B = float(entry[1])
        C = float(entry[2])
        h = math.tan(math.radians(A))*B+C
        print("{0:.2f}".format(5*h))
    except EOFError:
        break