a,b=map(int,input().split()) import math p=50*a q=p/((0.8+0.2*b)) print(math.ceil(p+q))