n,k=map(int,input().split()) ans=50*n num=ans/(0.8+(0.2*k)) print(int(ans+num))