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