import math a=list(map(int,input().split(" "))) b=50*a[0]+(50*a[0])/(0.8+0.2*a[1]) print(math.floor(b))