Problem:


お化け屋敷

 会津学園高等学校では、毎年学園祭をおこなっています。その中でも一番人気はお化け屋敷です。一番人気の理由は、お化け屋敷をおこなうクラスが 1クラスや 2クラスではなく、9クラスがお化け屋敷をおこなうことです。それぞれが工夫することより、それぞれが個性的なお化け屋敷になっています。そのため、最近では近隣から多くの来場者が訪れます。

 そこで、学園祭実行委員会では、お化け屋敷の入場料金を下表のように校内で統一し、これにもとづき各クラスごとに入場者総数と収入の集計をおこなうことにしました。

入場料金表(入場者 1人あたりの入場料)

 午前   午後
200円   300円

各クラス毎の午前と午後の入場者数を入力とし、各クラス毎の入場者総数及び収入の一覧表を作成するプログラムを作成してください。

Input

入力は以下の形式で与えられます。

name1 a1 b1
name2 a2 b2
:
name9 a9 b9

入力は９行からなり、i 行目に第 i のクラスのクラス名 namei (数字とアルファベットを含む 1 文字以上 15 文字以下の半角文字列)、午前の入場者数 ai (0 ≤ ai ≤ 400)、 午後の入場者数 bi (0 ≤ bi ≤ 400) が与えられます。

Output

i 行目に第 i のクラスのクラス名、 入場者総数、 料金収入を空白区切りで１行に出力してください。

Sample Input

1a 132 243
1c 324 183
1f 93 199
2b 372 163
2c 229 293
2e 391 206
3a 118 168
3b 263 293
3d 281 102

Output for the Sample Input

1a 375 99300
1c 507 119700
1f 292 78300
2b 535 123300
2c 522 133700
2e 597 140000
3a 286 74000
3b 556 140500
3d 383 86800



Sample input:
1a 132 243
1c 324 183
1f 93 199
2b 372 163
2c 229 293
2e 391 206
3a 118 168
3b 263 293
3d 281 102


Sample output:
1a 375 99300
1c 507 119700
1f 292 78300
2b 535 123300
2c 522 133700
2e 597 140000
3a 286 74000
3b 556 140500
3d 383 86800

Submission status: Wrong Answer

Solution code:
a,b,c=map(str,input().split())
print(a,int(b)+int(c),int(b)*200+int(c)*300)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(1,10):
  s = raw_input().split()
  a = map(int, s[1:])
  print s[0], sum(a), a[0]*200+a[1]*300

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(9):
    c, am, pm = raw_input().split()
    print c, int(am)+int(pm), 200*int(am)+300*int(pm)

Submission status: Accepted

Solution code:
for i in range(9):
    a,n,k=map(str,raw_input().split())
    n,k=int(n),int(k)
    print a,n+k,n*200+k*300

Submission status: Accepted

Solution code:
d = [input().split() for _ in range(9)]
ans = [ds[0]+" "+str(int(ds[1])+int(ds[2]))+" "+str(200*int(ds[1])+300*(int(ds[2]))) for ds in d]
print("\n".join(ans))

Submission status: Accepted

Solution code:
while 1:
    try:a,b,c=input().split()
    except:break
    b,c=map(int,[b,c])
    print(a,b+c,b*200+c*300)

Submission status: Accepted

Solution code:
cla = []
num = []
fee = []
f_am=200
f_pm=300
while True:
    try:
        f = input().strip().split()
        cla.append(f[0])
        num.append(int(f[1]) + int(f[2]))
        fee.append(int(f[1])*f_am + int(f[2])*f_pm) 
    except EOFError:
        break

for i in range(len(cla)):
    print('%s %d %d' % (cla[i], num[i], fee[i]) )

Submission status: Accepted

Solution code:
data = [input().split() for _ in range(9)]
print(*["{} {} {}".format(name, int(a)+int(b), int(a)*200+int(b)*300) for name, a, b in data], sep="\n")

Submission status: Accepted

Solution code:
# Aizu Problem 00173: Haunted House
#
import sys, math, os, bisect

# read input:
PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
    sys.stdin = open("sample-input.txt", "rt")


for line in sys.stdin:
    a, b, c = line.split()
    b, c = int(b), int(c)
    t = b + c
    p = 200 * b + 300 * c
    print(a, t, p)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0173

"""
import sys
from sys import stdin
input = stdin.readline


def main(args):
    AM = 200
    PM = 300
    for line in sys.stdin:
        name, a, b, = line.split()
        print('{} {} {}'.format(name, int(a)+int(b), int(a)*AM+int(b)*PM))


if __name__ == '__main__':
    main(sys.argv[1:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_data = [input().split(" ") for _ in range(9)]
data = [(name, int(count1) + int(count2), int(count1) * 200 + int(count2) * 300) for name, count1, count2 in input_data]
output_data = [name + " " + str(count) + " " + str(price) for name, count, price in data]
print("\n".join(output_data))

Submission status: Accepted

Solution code:
name = []
num = []
money = []

for l in range(9):
    N = input().split()
    name.append(N[0])
    am = int(N[1])
    pm = int(N[2])
    num.append(am+pm)
    money.append(am*200+pm*300)

for l in range(9):
    print(name[l],num[l],money[l])

Submission status: Accepted

Solution code:
# AOJ 0173 Haunted House
# Python3 2018.6.19 bal4u

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

Submission status: Accepted

Solution code:
for _ in range(9):
  name, v1, v2 = input().split()
  print(name, int(v1) + int(v2), int(v1) * 200 + int(v2) * 300)

Submission status: Accepted

Solution code:
while True:
 try:
  a = map(str,raw_input().split())
  s = int(a[1])+int(a[2])
  d = int(a[1])*200+int(a[2])*300
  print a[0],s,d
 except EOFError: break
 except IndexError: break

Submission status: Accepted

Solution code:
for i in range(9):
    name,p,a=raw_input().split()
    p,a=int(p),int(a)
    print name,p+a,p*200+a*300

Submission status: Accepted

Solution code:
for t in range(9):
    ipt = raw_input().split()
    print ipt[0]+" "+str(int(ipt[1])+int(ipt[2]))+" "+str(int(ipt[1])*200+int(ipt[2])*300)

Submission status: Accepted

Solution code:
while True:
    try:
        cn,m,a = raw_input().split()
    except:
        break
    m,a = map(int,(m,a))
    print "{} {} {}".format(cn,m+a,200*m+300*a)

Submission status: Accepted

Solution code:
for _ in xrange(9):
    cn,m,a = raw_input().split()
    m,a = map(int,(m,a))
    print "{} {} {}".format(cn,m+a,200*m+300*a)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for _ in range(9):
    a,b,c = input().split()
    b = int(b)
    c = int(c)
    print(a,b+c,b*200+c*300)

Submission status: Accepted

Solution code:
for i in range(9):
	n,a,b=input().split()
	a=int(a)
	b=int(b)
	print(n,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=list(input().split())
    print(name,int(a)+int(b),200*int(a)+300*int(b))

Submission status: Accepted

Solution code:

list=[]
for x in range(9):
    a,b,c=input().split()
    list.append((a,int(b),int(c)))
    
i=1
for i in range(i):
    print(list[0][0],list[0][1]+list[0][2],list[0][1]*200+(list[0][2]*300))
    print(list[1][0],list[1][1]+list[1][2],list[1][1]*200+(list[1][2]*300))
    print(list[2][0],list[2][1]+list[2][2],list[2][1]*200+(list[2][2]*300))
    print(list[3][0],list[3][1]+list[3][2],list[3][1]*200+(list[3][2]*300))
    print(list[4][0],list[4][1]+list[4][2],list[4][1]*200+(list[4][2]*300))
    print(list[5][0],list[5][1]+list[5][2],list[5][1]*200+(list[5][2]*300))
    print(list[6][0],list[6][1]+list[6][2],list[6][1]*200+(list[6][2]*300))
    print(list[7][0],list[7][1]+list[7][2],list[7][1]*200+(list[7][2]*300))
    print(list[8][0],list[8][1]+list[8][2],list[8][1]*200+(list[8][2]*300))

Submission status: Accepted

Solution code:
date=[list(input().split()) for _ in range(9)]
n=0
for i in range(9):
    t=int(date[n][1])
    s=int(date[n][2])
    print(date[n][0],t+s,(200*t)+(300*s))
    n+=1

Submission status: Accepted

Solution code:
for i in range(1,9+1):
    name,a,b=input().split()
    a=int(a)
    b=int(b)
    print(name,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=input().split()
    print(name,int(a)+int(b),int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
for i in range(9):
 name, a, b = input().split()
 print(name, int(a)+int(b), 200*int(a)+300*int(b))

Submission status: Accepted

Solution code:
for i in range(9):
    n,a,b = input().split()
    a = int(a)
    b = int(b)
    s = a*200+b*300
    print(n,a+b,s)

Submission status: Accepted

Solution code:
list=[]
for i in range(9):
    
    n,a,b=input().split()
    list.append((n,a,b))
    a=int(a)
    b=int(b)
    print(n,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
list=[]
for x in range(9):
    a,b,c=input().split()
    list.append((a,int(b),int(c)))

i=1
for i in range(i):
    print(list[0][0],list[0][1]+list[0][2],list[0][1]*200+(list[0][2]*300))
    print(list[1][0],list[1][1]+list[1][2],list[1][1]*200+(list[1][2]*300))
    print(list[2][0],list[2][1]+list[2][2],list[2][1]*200+(list[2][2]*300))
    print(list[3][0],list[3][1]+list[3][2],list[3][1]*200+(list[3][2]*300))
    print(list[4][0],list[4][1]+list[4][2],list[4][1]*200+(list[4][2]*300))
    print(list[5][0],list[5][1]+list[5][2],list[5][1]*200+(list[5][2]*300))
    print(list[6][0],list[6][1]+list[6][2],list[6][1]*200+(list[6][2]*300))
    print(list[7][0],list[7][1]+list[7][2],list[7][1]*200+(list[7][2]*300))
    print(list[8][0],list[8][1]+list[8][2],list[8][1]*200+(list[8][2]*300))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
for i in range(9):
    n,a,b=input().split()
    a=int(a)
    b=int(b)
    print(n,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
for i in range(9):
  n,a,b=input().split()
  a=int(a)
  b=int(b)
  print(n,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=list(input().split())
    print(str(name),end=' ')
    print(int(a)+int(b),end=' ')
    print(int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
C = [200,300]
for i in range(9):
    name,a,b= input().split()
    print(name,int(a) + int(b),int(a) * 200 + int(b) * 300)

Submission status: Accepted

Solution code:
list=[]
for i in range(9):
    n,a,b=input().split()
    a=int(a)
    b=int(b)
    list.append((n,int(a),int(b)))
    print(n,a+b,a*200+b*300)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=input().split()
    a=int(a)
    b=int(b)
    print(name,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
name1,a1,b1=map(str,input().split())
name2,a2,b2=map(str,input().split())
name3,a3,b3=map(str,input().split())
name4,a4,b4=map(str,input().split())
name5,a5,b5=map(str,input().split())
name6,a6,b6=map(str,input().split())
name7,a7,b7=map(str,input().split())
name8,a8,b8=map(str,input().split())
name9,a9,b9=map(str,input().split())

print(name1,int(a1)+int(b1),int(a1)*200+int(b1)*300)
print(name2,int(a2)+int(b2),int(a2)*200+int(b2)*300)
print(name3,int(a3)+int(b3),int(a3)*200+int(b3)*300)
print(name4,int(a4)+int(b4),int(a4)*200+int(b4)*300)
print(name5,int(a5)+int(b5),int(a5)*200+int(b5)*300)
print(name6,int(a6)+int(b6),int(a6)*200+int(b6)*300)
print(name7,int(a7)+int(b7),int(a7)*200+int(b7)*300)
print(name8,int(a8)+int(b8),int(a8)*200+int(b8)*300)
print(name9,int(a9)+int(b9),int(a9)*200+int(b9)*300)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Your code here!
classmate = []
morning = []
afternoon = []

for i in range(9):
    a,b,c=input().split()
    classmate.append(a)
    morning.append(int(b))
    afternoon.append(int(c))
    
for i in range(9):
    print(classmate[i], morning[i]+afternoon[i],morning[i] * 200 + afternoon[i] * 300)

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=list(input().split())
    print(name,int(a)+int(b),200*int(a)+300*int(b))

Submission status: Accepted

Solution code:
for i in range(9):
	name, a, b = list(input().split())
	print(name,int(a)+int(b),int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=input().split()
    a=int(a)
    b=int(b)
    print(name,a+b,(200*a)+(300*b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list=[]
for i in range (9):
    n,a,b=input().split()
    a=int(a)
    b=int(b)
    list.append((n,a,b))
    print(n,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
for i in range(1,10):
    
    name_i,a_i,b_i=map(lambda x: int(x) if x.isdigit() else x, input().split())
    print(f'{name_i} {a_i+b_i} {a_i*200+b_i*300}')

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

Submission status: Accepted

Solution code:
for i in range(9):
   name, a, b = input().split()
   print(name, int(a)+int(b), 200*int(a)+300*int(b))

Submission status: Accepted

Solution code:
for i in range(9):
    name, a, b = input().split()
    a =int(a)
    b =int(b)
    print(name, a+b, a*200+b*300)

Submission status: Accepted

Solution code:
name1,a1,b1=input().split()
name2,a2,b2=input().split()
name3,a3,b3=input().split()
name4,a4,b4=input().split()
name5,a5,b5=input().split()
name6,a6,b6=input().split()
name7,a7,b7=input().split()
name8,a8,b8=input().split()
name9,a9,b9=input().split()

print(name1,int(a1)+int(b1),int(a1)*200+int(b1)*300)
print(name2,int(a2)+int(b2),int(a2)*200+int(b2)*300)
print(name3,int(a3)+int(b3),int(a3)*200+int(b3)*300)
print(name4,int(a4)+int(b4),int(a4)*200+int(b4)*300)
print(name5,int(a5)+int(b5),int(a5)*200+int(b5)*300)
print(name6,int(a6)+int(b6),int(a6)*200+int(b6)*300)
print(name7,int(a7)+int(b7),int(a7)*200+int(b7)*300)
print(name8,int(a8)+int(b8),int(a8)*200+int(b8)*300)
print(name9,int(a9)+int(b9),int(a9)*200+int(b9)*300)

Submission status: Accepted

Solution code:
name1,a1,b1 = map(str,input().split())
name2,a2,b2 = map(str,input().split())
name3,a3,b3 = map(str,input().split())
name4,a4,b4 = map(str,input().split())
name5,a5,b5 = map(str,input().split())
name6,a6,b6 = map(str,input().split())
name7,a7,b7 = map(str,input().split())
name8,a8,b8 = map(str,input().split())
name9,a9,b9 = map(str,input().split())
print(name1,int(a1)+int(b1),int(a1)*200+int(b1)*300)
print(name2,int(a2)+int(b2),int(a2)*200+int(b2)*300)
print(name3,int(a3)+int(b3),int(a3)*200+int(b3)*300)
print(name4,int(a4)+int(b4),int(a4)*200+int(b4)*300)
print(name5,int(a5)+int(b5),int(a5)*200+int(b5)*300)
print(name6,int(a6)+int(b6),int(a6)*200+int(b6)*300)
print(name7,int(a7)+int(b7),int(a7)*200+int(b7)*300)
print(name8,int(a8)+int(b8),int(a8)*200+int(b8)*300)
print(name9,int(a9)+int(b9),int(a9)*200+int(b9)*300)

Submission status: Accepted

Solution code:
for i in range(9):
    cla,am,pm=input().split()
    am=int(am)
    pm=int(pm)
    print(cla,am+pm,am*200 + pm*300)

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=input().split()
    a=int(a)
    b=int(b)
    print(name,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=list(input().split())
    print(name, int(a)+int(b), int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
for i in range(9):
    name1,a1,b1=input().split() 
    print(f'{name1} {int(a1)+int(b1)} {int(a1)*200+int(b1)*300}')

Submission status: Accepted

Solution code:
for i in range(9):
    name1,a1,b1=input().split()
    print(f'{name1} {int(a1)+int(b1)} {int(a1)*200+int(b1)*300}')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range (9):
    n,a,b=input().split()
    a=int(a)
    b=int(b)
    c=a+b
    d=a*200+b*300
    print(n,c,d)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(9):
    n,a,b = input().split()
    a = int(a)
    b = int(b)
    print(n,a+b,200*a+300*b)

Submission status: Accepted

Solution code:
for i in range(9):
    n,a,b=input().split()
    print(n,int(a)+int(b),200*int(a)+300*int(b))

Submission status: Accepted

Solution code:
for i in range(9):
    s,t,u =list(input().split())
    print(s,int(t)+int(u),200*int(t)+300*int(u))

Submission status: Accepted

Solution code:
L = []
for i in range(9):
    n,a,b =  input().split()
    e = int(a) + int(b)
    t = 200*int(a)+ 300*int(b)
    L.append((n,e,t))
for x in L:
    print(x[0],x[1],x[2])

Submission status: Accepted

Solution code:
name1,x1,y1=input().split()
name2,x2,y2=input().split()
name3,x3,y3=input().split()
name4,x4,y4=input().split()
name5,x5,y5=input().split()
name6,x6,y6=input().split()
name7,x7,y7=input().split()
name8,x8,y8=input().split()
name9,x9,y9=input().split()

x1=int(x1)
x2=int(x2)
x3=int(x3)
x4=int(x4)
x5=int(x5)
x6=int(x6)
x7=int(x7)
x8=int(x8)
x9=int(x9)

y1=int(y1)
y2=int(y2)
y3=int(y3)
y4=int(y4)
y5=int(y5)
y6=int(y6)
y7=int(y7)
y8=int(y8)
y9=int(y9)

print(name1,x1+y1,x1*200+y1*300)
print(name2,x2+y2,x2*200+y2*300)
print(name3,x3+y3,x3*200+y3*300)
print(name4,x4+y4,x4*200+y4*300)
print(name5,x5+y5,x5*200+y5*300)
print(name6,x6+y6,x6*200+y6*300)
print(name7,x7+y7,x7*200+y7*300)
print(name8,x8+y8,x8*200+y8*300)
print(name9,x9+y9,x9*200+y9*300)

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=list(input().split())
    print(name,int(a)+int(b),int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
list=[]
for i in range(9):
    n,a,b=input().split()
    a=int(a)
    b=int(b)
    list.append((n,a,b))
    print(n,a+b,200*a+300*b)

Submission status: Accepted

Solution code:
for n in range(9):
  name,a,b = input().split()
  a = int(a)
  b = int(b)
  print(name,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
for i in range(9):
  name, a, b=input().split()
  print(name, int(a)+int(b), 200*int(a)+300*int(b))

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b =list(input().split())
    print(name,int(a)+int(b),(int(a)*200)+(int(b)*300))

Submission status: Accepted

Solution code:
for i in range(9):
	name, a, b = list(input().split())
	print(name, int(a)+int(b), 200*int(a)+300*int(b))

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=input().split()
    print(name,int(a)+int(b),int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
for _ in range(9) :
    l = input().split()
    a = int(l[1])
    b = int(l[2])
    print(l[0],a+b,a*200+b*300)

Submission status: Accepted

Solution code:
for i in range(9):
     name,a,b = map(str,input().split())
     a = int(a)
     b = int(b)
     member = a+b
     price = a*200+b*300
     
     print(name,end=' ')
     print(member,end=' ')
     print(price)

Submission status: Accepted

Solution code:
for i in range(9):
    ni,ai,bi=input().split()
    ai=int(ai)
    bi=int(bi)
    print(ni,ai+bi,ai*200+bi*300)

Submission status: Accepted

Solution code:
for i in range(9):
    e,a,b=input().split()
    a=int(a)
    b=int(b)
    print(f'{e} {a+b} {a*200+b*300}')

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=input().split()
    
    print(name,int(a)+int(b),int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
for _ in range(9):
  name,a,b= map(str,input().split())
  a=int(a)
  b=int(b)
  print(name,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=(str(x) for x in input().split())
    a=int(a)
    b=int(b)
    print(name,a+b,a*200+b*300)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(9):
    k,l,m=input().split()
    print(k,int(l)+int(m),int(l)*200+int(m)*300)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
name1,a1,b1 = input().split()
a1 = int(a1)
b1 = int(b1)
name2,a2,b2 = input().split()
a2 = int(a2)
b2 = int(b2)
name3,a3,b3 = input().split()
a3 = int(a3)
b3 = int(b3)
name4,a4,b4 = input().split()
a4 = int(a4)
b4 = int(b4)
name5,a5,b5 = input().split()
a5 = int(a5)
b5 = int(b5)
name6,a6,b6 = input().split()
a6 = int(a6)
b6 = int(b6)
name7,a7,b7 = input().split()
a7 = int(a7)
b7 = int(b7)
name8,a8,b8 = input().split()
a8 = int(a8)
b8 = int(b8)
name9,a9,b9 = input().split()
a9 = int(a9)
b9 = int(b9)


print(name1,a1 + b1,a1 * 200 + b1 * 300)
print(name2,a2 + b2,a2 * 200 + b2 * 300)
print(name3,a3 + b3,a3 * 200 + b3 * 300)
print(name4,a4 + b4,a4 * 200 + b4 * 300)
print(name5,a5 + b5,a5 * 200 + b5 * 300)
print(name6,a6 + b6,a6 * 200 + b6 * 300)
print(name7,a7 + b7,a7 * 200 + b7 * 300)
print(name8,a8 + b8,a8 * 200 + b8 * 300)
print(name9,a9 + b9,a9 * 200 + b9 * 300)

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=(input().split())
    a=int(a)
    b=int(b)
    print(name,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
for i in range(9):
    n,a,b=(input().split())
    print(n,int(a)+int(b),(int(a)*200)+(int(b)*300))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list = []
for i in range(9):
    n,a,b=input().split()
    a = int(a)
    b = int(b)
    list.append((n , int(a) , int(b)))
    print( n , a + b , 200*a + 300*b )

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list = []
for i in range(9):
    n,a,b=input().split()
    a = int(a)
    b = int(b)
    list.append((n, int(a), int(b)))
    print(n, a+b, a*200+b*300)

Submission status: Accepted

Solution code:
list=[]
for i in range(9):
    n,a,b=input().split()
    a=int(a)
    b=int(b)
    list.append((n,int(a),int(b)))
    print(n,end=' ')
    print(a+b,end=' ')
    print(a*200+b*300)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(9):
    n,a,b = input().split()
    a = int(a)
    b = int(b)
    print(n, a+b, a*200+b*300)

Submission status: Accepted

Solution code:
list = []
for i in range(9):
    n,a,b=input().split()
    a=int(a)
    b=int(b)
    list.append((n , int(a) , int(b)))
    print( n , a + b , a*200 + b*300 )

Submission status: Accepted

Solution code:
for i in range(9):
	name, a, b = list(input().split())
	print(name, int(a)+int(b), 200*int(a)+300*int(b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(9):
  e, a, b = list(input().split())
  print(e, int(a) + int(b), int(a) * 200 + int(b) * 300)

Submission status: Accepted

Solution code:
for _ in range(9):
    name,a,b = input().split()
    print(name,(int(a)+int(b)),(int(a)*200+int(b)*300))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(9):
    p, n,c = map(str, input().split())
    print(p,int(n)+int(c),int(n)*200+int(c)*300)

Submission status: Accepted

Solution code:
for i in range(9) :
    name,a,b = input().split()
    print(name,int(a)+int(b),int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
for i in range(9) :
    name,a,b = input().split()
    print(name,int(a)+int(b),int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
i=0
while i<9:
    name,a,b=map(str,input().split())
    print(name,int(a)+int(b),int(a)*200+int(b)*300)
    i=i+1

Submission status: Accepted

Solution code:
while True:
    try:
        a=list(map(str,input().split()))
        b=int(a[1])
        c=int(a[2])
        print(a[0],b+c,b*200+c*300)
        
    except:
        break;

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b=input().split()
    
    print(name,int(a)+int(b),int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

for i in range(9):
   cla, am, pm = input().split()
   am = int(am)
   pm = int(pm)
   print(cla, am + pm, am * 200 + pm * 300)

Submission status: Accepted

Solution code:
for i in range(9):
  name,a,b =input().split()
  a = int(a)
  b = int(b)
  print(name,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
for i in range(9):
   name,a,b=map(str,input().split())
   a=int(a)
   b=int(b)
   num=a+b
   sal=200*a+300*b
   print(name,str(num),str(sal))

Submission status: Accepted

Solution code:
i=0
while i<9:
    name,a,b=list(input().split())
    print(name,int(a)+int(b),200*int(a)+300*int(b))
    i+=1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i in range(9):
    namei,ai,bi=map(str,input().split())
    print(namei,int(ai)+int(bi),int(ai)*200+int(bi)*300)

Submission status: Accepted

Solution code:
for i in range(9):
	name, b, c = list(input().split())
	print(name, int(b)+int(c), int(b)*200+int(c)*300)

Submission status: Accepted

Solution code:
i=1
while i<=9:
 name,a,b = map(str,input().split())
 a=int(a)
 b=int(b)
 print(name,a+b,a*200+b*300)
 i += 1

Submission status: Accepted

Solution code:
i = 1
while i <= 9:
    name,a,b =map(str,input().split())
    print(name,int(a)+int(b),int(a)*200+int(b)*300)
    i +=1

Submission status: Accepted

Solution code:
for i in range(1,10):
    name,a,b=input().split()
    print(name,int(a)+int(b),int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
for i in range(9):
    n,a,b=input().split()
    print(str(n),int(a)+int(b),int(a)*200+int(b)*300)

Submission status: Accepted

Solution code:
data=[list(input().split()) for _ in range(9)]
n=0
while n<9:
    s=data[n][0]
    t=int(data[n][1])
    u=int(data[n][2])
    v=t+u
    w=t*200+u*300
    print(f"{s} {v} {w}")
    n+=1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i=1
while i<=9:
    name,a,b=map(str,input().split())
    A=int(a)
    B=int(b)
    x=A+B
    y=A*200+B*300
    print(f'{name} {x} {y}')
    i+=1

Submission status: Accepted

Solution code:
i = 1
while i <= 9:
    name_i,a_i,b_i = map(str,input().split())
    a_i = int(a_i)
    b_i = int(b_i)
    x = a_i + b_i
    y = a_i * 200 + b_i * 300
    print(name_i,x,y)
    i += 1

Submission status: Accepted

Solution code:
name1, a1, b1 = map(str, input().split())
name2, a2, b2 = map(str, input().split())
name3, a3, b3 = map(str, input().split())
name4, a4, b4 = map(str, input().split())
name5, a5, b5 = map(str, input().split())
name6, a6, b6 = map(str, input().split())
name7, a7, b7 = map(str, input().split())
name8, a8, b8 = map(str, input().split())
name9, a9, b9 = map(str, input().split())

print(name1,int(a1)+int(b1),int(a1)*200+int(b1)*300)
print(name2,int(a2)+int(b2),int(a2)*200+int(b2)*300)
print(name3,int(a3)+int(b3),int(a3)*200+int(b3)*300)
print(name4,int(a4)+int(b4),int(a4)*200+int(b4)*300)
print(name5,int(a5)+int(b5),int(a5)*200+int(b5)*300)
print(name6,int(a6)+int(b6),int(a6)*200+int(b6)*300)
print(name7,int(a7)+int(b7),int(a7)*200+int(b7)*300)
print(name8,int(a8)+int(b8),int(a8)*200+int(b8)*300)
print(name9,int(a9)+int(b9),int(a9)*200+int(b9)*300)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

for i in range(9):
    n,A,B=input().split()
    a = int(A)
    b = int(B)
    print(n,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
i=1
while i<10:
    name_i,a_i,b_i=map(str,input().split())
    
    x=int(a_i)+int(b_i)
    y=int(a_i)*200+int(b_i)*300
    print(name_i,x,y)
    i=i+1

Submission status: Accepted

Solution code:
namei = []
ai = []
bi = []
n = 1
while n <= 9:
    line = input()
    t = line.split(" ")
    namei.append(t[0])
    ai.append(int(t[1]))
    bi.append(int(t[2]))
    n += 1

namei.append("fin")
i = 0
while namei[i] != "fin":
    sosu = ai[i]+bi[i]
    ryokin = ai[i]*200+bi[i]*300
    print(namei[i],sosu,ryokin)
    i += 1

Submission status: Accepted

Solution code:
name1, a1, b1=input().split()
name2, a2, b2=input().split()
name3, a3, b3=input().split()
name4, a4, b4=input().split()
name5, a5, b5=input().split()
name6, a6, b6=input().split()
name7, a7, b7=input().split()
name8, a8, b8=input().split()
name9, a9, b9=input().split()

print(name1 , int(a1)+int(b1) , int(a1)*200+int(b1)*300)
print(name2 , int(a2)+int(b2) , int(a2)*200+int(b2)*300)
print(name3 , int(a3)+int(b3) , int(a3)*200+int(b3)*300)
print(name4 , int(a4)+int(b4) , int(a4)*200+int(b4)*300)
print(name5 , int(a5)+int(b5) , int(a5)*200+int(b5)*300)
print(name6 , int(a6)+int(b6) , int(a6)*200+int(b6)*300)
print(name7 , int(a7)+int(b7) , int(a7)*200+int(b7)*300)
print(name8 , int(a8)+int(b8) , int(a8)*200+int(b8)*300)
print(name9 , int(a9)+int(b9) , int(a9)*200+int(b9)*300)

Submission status: Accepted

Solution code:
for i in range(9):
    name,a,b = input().split()
    a = int(a)
    b = int(b)
    print(name,a+b,a*200+b*300)

Submission status: Accepted

Solution code:
n1,a1,b1=input().split()
n2,a2,b2=input().split()
n3,a3,b3=input().split()
n4,a4,b4=input().split()
n5,a5,b5=input().split()
n6,a6,b6=input().split()
n7,a7,b7=input().split()
n8,a8,b8=input().split()
n9,a9,b9=input().split()

c1=int(a1)+int(b1)
c2=int(a2)+int(b2)
c3=int(a3)+int(b3)
c4=int(a4)+int(b4)
c5=int(a5)+int(b5)
c6=int(a6)+int(b6)
c7=int(a7)+int(b7)
c8=int(a8)+int(b8)
c9=int(a9)+int(b9)

d1=int(a1)*200+int(b1)*300
d2=int(a2)*200+int(b2)*300
d3=int(a3)*200+int(b3)*300
d4=int(a4)*200+int(b4)*300
d5=int(a5)*200+int(b5)*300
d6=int(a6)*200+int(b6)*300
d7=int(a7)*200+int(b7)*300
d8=int(a8)*200+int(b8)*300
d9=int(a9)*200+int(b9)*300

print(n1,c1,d1)
print(n2,c2,d2)
print(n3,c3,d3)
print(n4,c4,d4)
print(n5,c5,d5)
print(n6,c6,d6)
print(n7,c7,d7)
print(n8,c8,d8)
print(n9,c9,d9)

Submission status: Accepted

Solution code:
i=0
for i in range(9):
    n,k,l=map(str,input().split())
    j=int(k)
    p=int(l)
    print(n,j+p,j*200+p*300)

Submission status: Accepted

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