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