A,B = [int(i) for i in input().split()]
f = lambda n, k: int(50*n + ((50*n) // (0.8 + 0.2*k)))
print(f(A,B))