import math def f(N, K): return 50*N + math.floor(50*N/(0.8+0.2*K)) A, B = [int(i) for i in input().split()] print(f(A, B))