a = float(input())
if a > 5 and a < 15:
    a *= 10
    print(a)

a = float(input())
b = float(input())
c = float(input())
if a > b and a > c:
    print(a)

a = float(input())
if 5 < a < 15:
    a *= 10
    print(a)