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