N, K = map(int, input().split()) A = 50 * N + ((50 * N) // (0.8 + 0.2 * K)) print(int(A))