a,b=map(int,input().split()) c=a*50 sum=int(c*10/8+2*b) print(c+sum)