import math n, k = (int(i) for i in input().split()) ans = 50 * n + math.floor(((50 * n) / (0.8 + (0.2 * k)))) print(ans)