def calc(N, K): return 50*N+int(float(50*N)/(0.8+0.2*float(K))) A, B = map(int, raw_input().split()) print calc(A, B)