for i in range(1,10):

  s = input().split()

  a = list(map(int, s[1:]))

  print(s[0], sum(a), a[0]*200+a[1]*300)
for _ in range(1,10):

  a,b,c = input().split()

  b,c = list(map(int, [b,c]))

  print(a, b+c, b*200+c*300)
for i in range(1, 10):
    s = input().split()
    a = list(map(int, s[1:]))
    print(s[0], sum(a), a[0] * 200 + a[1] * 300)

for _ in range(1, 10):
    a, b, c = input().split()
    b, c = list(map(int, [b, c]))
    print(a, b + c, b * 200 + c * 300)

-for i in range(1, 10): -    s = input().split() -    a = list(map(int, s[1:])) -    print(s[0], sum(a), a[0] * 200 + a[1] * 300) +for _ in range(1, 10): +    a, b, c = input().split() +    b, c = list(map(int, [b, c])) +    print(a, b + c, b * 200 + c * 300)