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