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