def f(N,K): import math F = (50*N)/(0.8+0.2*K) return math.floor(50*N + F) A,B = map(int,input().split()) print(f(A,B))