N, M = list(map(int, input().split()))

ans = (100*(N-M)+1900*M)*pow(2,M)

print(ans)
def solve():

  ans = 0

  N, M = list(map(int, input().split()))

  ans = (100*(N-M)+1900*M)*pow(2,M)

  return ans

print((solve()))
N, M = list(map(int, input().split()))
ans = (100 * (N - M) + 1900 * M) * pow(2, M)
print(ans)

def solve():
    ans = 0
    N, M = list(map(int, input().split()))
    ans = (100 * (N - M) + 1900 * M) * pow(2, M)
    return ans


print((solve()))

-N, M = list(map(int, input().split())) -ans = (100 * (N - M) + 1900 * M) * pow(2, M) -print(ans) +def solve(): +    ans = 0 +    N, M = list(map(int, input().split())) +    ans = (100 * (N - M) + 1900 * M) * pow(2, M) +    return ans + + +print((solve()))