a,b = map(int,input().split()) def f(n,k): import math return 50*n+math.floor(50*n/(0.8+0.2*k)) print(f(a,b))