n,k=map(int,input().split()) print(50*n+int((50*n)//((8+2*k)/10)))