n, k = map(int, input().split()) print(int(50 * n + (50 * n) // (0.8 + 0.2 * k)))