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)
	}
}

C++: #include <map>
#include <set>
#include <list>
#include <cmath>
#include <queue>
#include <stack>
#include <cstdio>
#include <string>
#include <vector>
#include <complex>
#include <cstdlib>
#include <cstring>
#include <numeric>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <functional>

#define mp       make_pair
#define pb       push_back
#define all(x)   (x).begin(),(x).end()
#define rep(i,n) for(int i=0;i<(n);i++)
#define repi(i,a,b) for(int i = (a); i < (b); i++)

using namespace std;

typedef    long long          ll;
typedef    unsigned long long ull;
typedef    vector<bool>       vb;
typedef    vector<int>        vi;
typedef    vector<vb>         vvb;
typedef    vector<vi>         vvi;
typedef    pair<int,int>      pii;

const int INF=1<<29;
const double EPS=1e-9;

const int dx[]={1,0,-1,0},dy[]={0,-1,0,1};

int main(){
	string str;
	int m,a;
	map<string,pii>data;

	for(int i =0;i < 9;i++){
		cin>>str>>m>>a;
		data[str]=pii(a+m,(m*200+a*300));
	}
	map<string,pii>:: iterator it =data.begin();
	while(it !=data.end()){
		cout <<(*it).first<<" "<<(*it).second.first<<" "<<(*it).second.second<<endl;
		it++;
	}
	return 0;
}

C++: #include<iostream>

using namespace std;

int main(void){
  int sum,a,b,i,j;
  string clas;

  while(cin>> clas >> a >> b){
    cout << clas <<" "<< a+b << " " << 200*a+300*b << endl;
}

  return 0;
}

C++: #include<iostream>
#define AM_Y 200
#define PM_Y 300
using namespace std;
int main(){
	char c_name[15];
	int am, pm;
	for(int i=0;i<9;i++){
		cin>>c_name>>am>>pm;
		cout<<c_name<<" "<<(am+pm)<<" "<<((am*200)+(pm*300))<<endl;
	}
	return 0;
}

C++: #include<iostream>
#include<string>
using namespace std;
int main(void)
{
    string name;
    int am,pm;
    while(1){
        cin>>name>>am>>pm;
        cout<<name<<" "<<am+pm<<" "<<am*200+pm*300<<"\n";
    }
}

C++: #include <bits/stdc++.h>
using namespace std;

typedef struct{
    string name;
    int Anum;
    int Pnum;
}DATA;

int main(void){
    std::ios_base::sync_with_stdio();

    DATA dt[10];

    for(int i=0;i<9;i++){
        cin>>dt[i].name>>dt[i].Anum>>dt[i].Pnum;
    }
    for(int i=0;i<9;i++){
        cout<<dt[i].name<<" ";
        cout<<dt[i].Anum+dt[i].Pnum<<" ";
        cout<<dt[i].Anum*200+dt[i].Pnum*300<<endl;
    }
    return 0;
}

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

int main(){
  string id;
  map<string,int>vs;
  map<string,int> ma;
  for(int i = 0 ; i < 9 ; i++ ){
    int a,b;
    cin >> id >> a >> b;
    ma[id] += a*200 + b*300;
    vs[id] = a+b;
  }
  map<string ,int>::iterator itt = vs.begin();
  for(map<string ,int>::iterator it = ma.begin() ; it != ma.end() ; it++,itt++ ){
    cout << (*it).first << ' '<< (*itt).second <<' ' << (*it).second << endl;
  }
  return 0;
}

C++: #include<iostream>
using namespace std;
string s;
int a,b;
int main(void){
    for(int i=0;i<9;i++){
      cin>> s >> a >> b;
      cout<< s << ' ' << a+b << ' ' << 200*a+300*b <<endl;
  }
  return 0;
}

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

int main() {
  string name;
  int a, b;
  for (int i=0; i<N; i++) {
    int am = 200, pm = 300;
    cin >> name >> a >> b;
    int num = a+b;
    int fee = a*am+b*pm;
    cout << name << " " << num << " " << fee << endl;
  }
  return 0;
}

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

int main(){
	int x,y;
	const int am = 200;
	const int pm = 300;
	string str;
	for(int i=0;i<9;i++){
		cin >> str >> x >> y;
		cout << str << " " << x+y << " " << x*am+y*pm << endl;
	}
	return 0;
}

C++: #include <iostream>
#include <cstdio>
using namespace std;
int main(void) {
  char cls[9][15];
  int m[9], a[9];
  int sum[9], msum[9], asum[9], vsum[9];
  
  for(int i = 0 ; i < 9 ; i++) {
    scanf("%s %d %d", cls[i], &m[i], &a[i]);
    sum[i] = m[i] + a[i];
    msum[i] = 200 * m[i];
    asum[i] = 300 * a[i];
  }
  for(int i = 0 ; i < 9 ; i++) {
    printf("%s %d %d\n", cls[i], sum[i], msum[i]+asum[i]);
  }
  return 0;
}

C++: #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

int main() {
    vector<string> name(9);
    vector<int> a(9);
    vector<int> b(9);
    
    rep(i, 9) {
        int tmpa, tmpb;
        cin >> name.at(i) >> tmpa >> tmpb;
        a.at(i) = tmpa + tmpb;
        b.at(i) = tmpa * 200 + tmpb * 300;
    }
    rep(i, 9) {
        cout << name.at(i) << " " << a.at(i) << " " << b.at(i) << endl;
    }
}

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

int main ()
{
    int a, b;
    string str;

    while (cin >> str >> a >> b) {
        cout << str << " " << a + b << " " << a * 200 + b * 300 << endl;
    }

    return 0;
}

C++: #include<cstdio>
int a,b;char c[99];int main(){for(;~scanf("%s%d%d",&c,&a,&b);a=(a/400)?400:a,printf("%s %d %d\n",c,a+b,a*200+b*300))b=(b/400)?400:b;}

C++: #include <stdio.h>
#include <stack>
#include <math.h>

using namespace std;

int main(){

	int a,b;
	char name[20];

	for(int i=0; i < 9; i++){
		scanf("%s %d %d",name,&a,&b);
		printf("%s %d %d\n",name,a+b,200*a+300*b);
	}

    return 0;
}

C++: #include <iostream>
#include <string>

using namespace std;

int main(){
	int ary_morning[10] , ary_after[20];
	int sum[10] , ans[10];
	string str[10];

	for(int i = 0; i < 9; i++){
		cin >> str[i] >> ary_morning[i] >> ary_after[i];
		sum[i] = ary_morning[i] + ary_after[i];
		ans[i] = (ary_morning[i] * 200) + (ary_after[i] * 300); 
	}for(int i = 0; i < 9; i++){
		cout << str[i] << " " << sum[i] << " " << ans[i] << endl;
	}

	return 0;
}

C++: #include<iostream>
#include<string>
using namespace std;
main(){string n;int a,p;
for(int i=0;i<9;i++)cin>>n>>a>>p,cout<<n<<" "<<a+p<<" "<<a*200+p*300<<endl;}

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

int main() {
	
	int a[18];
	string c;
	
	int x,hito,kane;
	hito=0;
	kane=0;
	
	for(int i=0;i<18;i=i+2){
		cin >> c ;
		cin >> a[i] >> a[i+1] ;
		hito=a[i]+a[i+1];
		kane=a[i]*200+a[i+1]*300;
		
		
		cout << c << " " << hito << " " << kane << endl;
		x=x+1;
	}
	
	return 0;
}

C++: #include <iostream>
using namespace std;
int main( void )
{
	string name;
	int gozen, gogo;

	for ( int i = 0; i < 9; i++ )
	{
		cin >> name >> gozen >> gogo;
		cout << name << " " << gozen + gogo << " " << gozen * 200 + gogo * 300 << endl;
	}

	return 0;
}

C++: #include<bits/stdc++.h>
using namespace std;
int main(void)
{
	int i,j,k,n,s1,s2;
	char name[3];
	for(i=0;i<9;i++) {
		cin>>name>>s1>>s2;
		cout<<name<<" "<<s1+s2<<" "<<(s1*200)+(s2*300)<<endl;
	}
	return 0;
}

C++: #include<iostream>
#include<string>
using namespace std;
int main(){
  int bell,hess,aizu,money=0;
  string s;
  for(int i=0;i<9;i++){
    cin >> s >> bell >> hess;
    money+=bell*200;
    money+=hess*300;
    aizu=bell+hess;
    cout << s << " " << aizu << " " << money << endl;
    money=0;
  }
}

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

using namespace std;

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

  
  for(i=0;i<9;i++){
    cin >> ca[i] >>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 << ca[i]<< clas[i]<< " " << sum[i] << " "<< kei[i] << endl;
  }
  
  
  
  

}