def f(n, k): return int(50 * n + round(50.0 * n / (0.8 + 0.2 * k), 0)) print(f(*list(map(int, input().split()))))