for i in range(9):

    a,b,c = list(map(str, input().split()))

    print(a,int(b)+int(c),200*int(b)+300*int(c))
for i in range(9):

    a,b,c = list(map(str, input().split()))

    b,c = int(b),int(c)

    print(a,b+c,200*b+300*c)
for i in range(9):
    a, b, c = list(map(str, input().split()))
    print(a, int(b) + int(c), 200 * int(b) + 300 * int(c))

for i in range(9):
    a, b, c = list(map(str, input().split()))
    b, c = int(b), int(c)
    print(a, b + c, 200 * b + 300 * c)

-    print(a, int(b) + int(c), 200 * int(b) + 300 * int(c)) +    b, c = int(b), int(c) +    print(a, b + c, 200 * b + 300 * c)