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