A, B = [int(i) for i in input().strip().split(' ')] def f(N, K): return 50 * N + int((50 * N) / (0.8 + 0.2 * K)) print(f(A, B))