Go: package main

import (
	"bufio"
	"os"
	"strings"
	"strconv"
	"fmt"
)

var scanner = bufio.NewScanner(os.Stdin)

func main() {
	for i := 0; i < 9; i++ {
		scanner.Scan()
		buf := strings.Split(scanner.Text(), " ")
		name := buf[0]
		am, _ := strconv.Atoi(buf[1])
		pm, _ := strconv.Atoi(buf[2])
		visitor := am + pm
		income := am*200 + pm*300
		fmt.Printf("%s %d %d\n", name, visitor, income)
	}
}

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

Python: 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 )

Python: 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

Python: i=1
while i<10:
    namei,ai,bi=input().split()
    a=int(ai)
    b=int(bi)
    print(namei,a+b,a*200+b*300)
    i+=1

Python: 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)

Python: 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))

Python: 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)

Python: A=[[0 for j in range(3)]for i in range(9)]
for i in range(9):
  id, a, b=map(str,input().split())
  s =int(a)+int(b)
  p =int(a)*200+int(b)*300
  A[i][0]=id
  A[i][1]=s
  A[i][2]=p

for i in range(9):
  print(A[i][0],A[i][1], A[i][2])

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

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

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

Python: # 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)

Python: 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)

Python: 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)

Python: # 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)

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

Python: 
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))

Python: 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)

Python: # 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)

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

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

Python: 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)

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

Python: 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)

Python: 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)

C++: #include<iostream>
#include<string.h>
#include<cstdio>
#define NN 1000

using namespace std;

int main(){
  int i,j,n,go[NN],ggo[NN],sum[NN],kane1[NN],kane2[NN],kei[NN];
  char clas[NN][NN];
  
  
  
  

  
  for(i=0;i<9;i++){
  cin >> clas[i]  >> go[i] >> ggo[i];
    sum[i]=go[i]+ggo[i]; //nyuujougoukei
    kane1[i]=go[i]*200;
    kane2[i]=ggo[i]*300;
    kei[i]=kane1[i]+kane2[i];
  }

  for(i=0;i<9;i++){
    cout << clas[i]<< " " << sum[i] << " "<< kei[i] << endl;
  }
  
  
  
  

}

C++: // #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <stack>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <locale>
#include <cctype>
#include <sstream>	// istringstream
using namespace std;

#define GOZEN 200
#define GOGO 300

int main(){
	string className;
	int gozenIn = 0, gogoIn = 0;

	while (cin >> className >> gozenIn >> gogoIn){
		cout << className << " " << (gozenIn + gogoIn) << " " << (gozenIn*GOZEN + gogoIn*GOGO) << endl;
	}
	return 0;
}

C++: #include <iostream>
#include <cstdio>
#include <cstring>
#include <sstream>
#include <algorithm>
#include <math.h>
#include <map>
#include <functional>
#include <iomanip>
#include <vector>
#include <queue>
#include <stack>
#include <set>
#include <typeinfo>
#define PI 3.14159265359
#define INF 99999999
#define rep(i, n) for(int i=0; i<n; i++)
#define REP(n) rep(i, n)
#define pb push_back
#define mp make_pair
typedef long long ll;
using namespace std;
typedef pair<int, int> P;

string name;
int gozen, gogo;

int main()
{
	while (cin >> name >> gozen >> gogo)
	{
		cout << name << " " << gozen + gogo << " " << 200 * gozen + 300 * gogo << endl;
	}
	
	return 0;
}

C++: #include <stdio.h>
#include <iostream>
#include <string>

using namespace std;

int main() {
	string a;
	int k1,k2;
	int wa1,wa2;

	for (int i = 0; i < 9; i++) {
		cin >> a >> k1 >> k2;
		wa1 = k1 + k2;
		wa2 = k1 * 200 + k2 * 300;
		cout << a << " " << wa1 << " " << wa2 << endl;
	}
	return 0;
}

C++: #include <iostream>
#include <string>
using namespace std;

int main(void){
	string name[9];
	int a[9]={0},b[9]={0};

	for(int i=0;i<9;++i) cin >> name[i] >> a[i] >> b[i];
	for(int i=0;i<9;++i){
		int man=a[i]+b[i], price=(a[i]*200)+(b[i]*300);
		a[i] = man;
		b[i] = price;
	}

	for(int i=0;i<9;++i) cout << name[i] << " " << a[i] << " " << b[i] << endl;
}

C++: #include <iostream>
using namespace std;

int main()
{
	char cn[16];
	int a, b;
	
	for (int i = 0; i < 9; i++) {
		cin >> cn >> a >> b;
		cout << cn << " " << a + b << " " << 200 * a + 300 * b << endl;
	}

	return 0;
}

C++: #include<stdio.h>
int main(void)
{
	char a;
	int s,z,i,f,g;
		while(scanf("%c %d %d",&a,&s,&z)!=EOF){
			f=s+z;
			g=(s*200)+(z*300);
			printf("%c %d %d\n",a,f,g);
			s=0;
			z=0;
			f=0;
			g=0;
		}
	return 0;
}