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