import math input_list = list(map(int,input().split())) a, b = input_list # 1e-9を足さないver. res = 50 * a + math.floor(50 * a / (0.8 + 0.2 * b)) print(res)