# coding: utf-8

# Your code here!

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

tmp=M*1900+(N-M)*100

cnt=1

for i in range(M):

    cnt*=2

#print(cnt)

print((tmp*cnt))
# coding: utf-8

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



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

print(ans)
# coding: utf-8
# Your code here!
N, M = list(map(int, input().split()))
tmp = M * 1900 + (N - M) * 100
cnt = 1
for i in range(M):
    cnt *= 2
# print(cnt)
print((tmp * cnt))

# coding: utf-8
N, M = list(map(int, input().split()))
ans = 2**M * (1900 * M + 100 * (N - M))
print(ans)

-# Your code here! -tmp = M * 1900 + (N - M) * 100 -cnt = 1 -for i in range(M): -    cnt *= 2 -# print(cnt) -print((tmp * cnt)) +ans = 2**M * (1900 * M + 100 * (N - M)) +print(ans)