N,K = [int(i) for i in input().split()] print(int(50*N+abs((50*N)/(0.8+0.2*K))))