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