<filename>yc154/445.py<gh_stars>0
def f(N, K):
    return 50 * N + 500 * N // (8 + 2 * K)


A, B = map(int, input().split())
print(f(A, B))

<filename>yc154/445.py<gh_stars>0
def f(N, K):
    return 50 * N + 500 * N // (8 + 2 * K)


A, B = map(int, input().split())
print(f(A, B))
