A,B = raw_input().split() A = int(A) B = int(B) F = int(50*A) + int(50*A/(0.8+0.2*B)) print F