a,b=map(int,input().split()) ans=a*50 print(round(ans+(ans/(0.8+(0.2*b)))))