a, b = map(int, input().split()) ans = 50 * a + int(50 * a / ((8 + 2 * b) / 10)) print(ans)