def f(N,K): X = 50*N / (0.8 + 0.2*K) print(int(50 * N + X)) A, B = map(int,input().split()) f(A,B)