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