import math from decimal import Decimal a,b=list(map(int,input().split())) x=50*a+math.floor((50*a)/(Decimal("0.8")+Decimal("0.2")*b)) print(x)