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 <iostream>
#include <vector>
using namespace std;

class solver{
    string name;
    int am;
    int pm;
public:
    void put_name(string str){
        name = str;
    }
    string show_name(){
        return name;
    }
    void put_am(int n){
        am = n;
    }
    void put_pm(int n){
        pm = n;
    }
    int sum(){
        return am+pm;
    }
    int income(){
        return 200*am + 300*pm;
    }
    void print(){
        cout << name;
        cout << " ";
        printf("%d %d\n", sum(), income());
    }
};


int main(){
    vector<solver> a(9);
    string tmp;
    int n, m;

    for(int i=0; i<9; i++){
        cin >> tmp;
        a[i].put_name(tmp);
        cin >> n >> m;
        a[i].put_am(n);
        a[i].put_pm(m);
    }

    for(int i=0; i<9; i++){
        a[i].print();
    }

    return 0;
}

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

int main() {
    int m,d,money[10],sum[10];
    string str[10];
    for(int i=0;i<9;i++){
        cin >> str[i] >> m >> d;
        sum[i]=m+d;
        money[i]=m*200+d*300;
    }
    for(int i=0;i<9;i++){
        cout << str[i] << ' ' << sum[i] << ' ' << money[i] << endl;
    }
    return 0;
}

C++: #include <iostream>
#include <algorithm>
#include <cassert>
#include <cctype>
#include <complex>
#include <cstdio>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;

int a,b;
string s;

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

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

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

int main() {
	while (1) {
		string a; int b, c;
		cin >> a >> b >> c;
		if (cin.fail())break;
		cout << a << " " << b + c <<" "<< b * 200 + c * 300 << endl;
	}
}

C++: #include <iostream>
#include <string>
using namespace std;
 
int main(){
        int gozen,gogo,people,yen,x,y;
        string c;
        for(int i=0;i<9;i++){
                cin>>c>>gozen>>gogo;
                people=gozen+gogo;
                x=gozen*200;
                y=gogo*300;
                yen=x+y;
                cout<<c<<' '<<people<<' '<<yen<<endl;
        }
        return 0;
}

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

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

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

int main()
{
	for(int i=0;i<9;i++)
	{
		string name;
		int a,b;
		cin>>name>>a>>b;
		cout<<name<<" "<<a+b<<" "<<a*200+b*300<<endl;
	}
	
}

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

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

int main() {
  for(int i = 0; i < 9; i++) {
    string s;
    int a, p;
    cin >> s >> a >> p;
    int ans = 200*a + 300*p;

    cout << s << ' ' << a+p << ' '<< ans << endl;
  }
}

C++: #include<iostream>
#include<algorithm>
#include<cstdio>
#include<cmath>
#include<math.h>
#include<string>
#include<string.h>
#include<stack>
#include<queue>
#include<vector>
#include<utility>
#include<set>
#include<map>
#include<stdlib.h>
#include<iomanip>

using namespace std;

#define ll long long
#define ld long double
#define EPS 0.0000000001
#define INF 1e9
#define rep(i,n) for(i=0;i<n;i++)
#define loop(i,a,n) for(i=a;i<n;i++)
#define all(in) in.begin(),in.end()
#define shosu(x) fixed<<setprecision(x)

typedef vector<int> vi;
typedef pair<int,int> pii;

int main(void) {
  int i,j;
  int a,b;
  string s;
  rep(i,9){
    cin>>s>>a>>b;
    cout<<s<<" "<<a+b<<" "<<200*a+300*b<<endl;
  }
}

C++: #include<iostream>
#include<string>
#include<queue>
#include<utility>
#include<algorithm>
#include<cctype>
using namespace std;
	


int main(){
	int a[15];
	int b[15];
	int num[15];
	string str[15];
	
	for(int i=0;i<9;i++){
	cin>>str[i]>>a[i]>>b[i];
	}
	
	for(int i=0;i<9;i++){
		
		num[i]=a[i]*200+b[i]*300;
	}
	
	for(int i=0;i<9;i++){
	cout<<str[i]<<" "<<a[i]+b[i]<<" "<<num[i]<<endl;
	}

	
	return 0;
	
}

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

using namespace std;

int main(){

  int a, b;
  string name;


  while(cin >> name >> a >> b){

    cout << name <<" " <<a+b <<" " <<a*200+b*300 << endl;
  }

  return 0;
}

C++: #include <bits/stdc++.h>
#define r(i,a,n) for(int i=a;i<n;i++)
using namespace std;
int main(){
	int a,b,c=9;
	string s;
	while(c--){
		cin>>s>>a>>b;
		cout<<s<<' '<<a+b<<' '<<a*200+b*300<<endl;
	}
}

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

int main() {
	string s;
	int a, b;
	while (cin >> s >> a >> b) {
		cout << s << ' ' << a + b << ' ' << a * 200 + b * 300 << endl;
	}
}

C++: #include<stdio.h>
int main(void)
{
    int a1,a2,a3,a4,a5,a6,a7,a8,a9,b1,b2,b3,b4,b5,b6,b7,b8,b9;
	char c1[16],c2[16],c3[16],c4[16],c5[16],c6[16],c7[16],c8[16],c9[16];
	scanf("%s %d %d",&c1,&a1,&b1);
	scanf("%s %d %d",&c2,&a2,&b2);
	scanf("%s %d %d",&c3,&a3,&b3);
	scanf("%s %d %d",&c4,&a4,&b4);
	scanf("%s %d %d",&c5,&a5,&b5);
	scanf("%s %d %d",&c6,&a6,&b6);
	scanf("%s %d %d",&c7,&a7,&b7);
	scanf("%s %d %d",&c8,&a8,&b8);
	scanf("%s %d %d",&c9,&a9,&b9);
	printf("%s %d %d\n",c1,a1+b1,a1*200+b1*300);
	printf("%s %d %d\n",c2,a2+b2,a2*200+b2*300);
	printf("%s %d %d\n",c3,a3+b3,a3*200+b3*300);
	printf("%s %d %d\n",c4,a4+b4,a4*200+b4*300);
	printf("%s %d %d\n",c5,a5+b5,a5*200+b5*300);
	printf("%s %d %d\n",c6,a6+b6,a6*200+b6*300);
	printf("%s %d %d\n",c7,a7+b7,a7*200+b7*300);
	printf("%s %d %d\n",c8,a8+b8,a8*200+b8*300);
	printf("%s %d %d\n",c9,a9+b9,a9*200+b9*300);
	return 0;
}

C++: #include<stdio.h>
int main()
{
	char s[19];
	int i,a,b;
	for(i=0;i<9;++i)
		scanf("%s%d%d",s,&a,&b),printf("%s %d %d\n",s,a+b,a*200+b*300);
	return 0;
}

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

using namespace std;

void solve()
{
	for(int i = 0; i < 9; ++i)
	{
		string str;
		cin >> str;
		int am, pm;
		cin >> am >> pm;
		cout << str << " " << am + pm << " " << 200 * am + 300 * pm << endl;
	}
}

int main()
{
	solve();
	return(0);
}

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

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

int main(){
	string a;
	int b,c;
	while(cin >> a >> b >> c){
		cout << a << " " << b+c << " " << b * 200 + c * 300 << endl;
	}
}

C++: 
#include <iostream>
#include<string>
#include<cstdio>
#include<cmath>
#include<algorithm>
#include<vector>
using namespace std;
int main(){
    string str[9];
    int a[9],b[9],i,ab[9];
    long long sum[9];
    for(i=0;i<9;i++){
        cin>>str[i]>>a[i]>>b[i];
    }
    for(i=0;i<9;i++){
        ab[i]=a[i]+b[i];
        sum[i]=a[i]*200+b[i]*300;
    }
    for(i=0;i<9;i++){
        cout<<str[i]<<" "<<ab[i]<<" "<<sum[i]<<endl;
    }
    return 0;
}

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

int main(){
	string s;
	int a,b;
	for(int i = 0; i < 9; i++){
		cin >> s >> a >> b;
		cout << s << " " << a + b << " " << 200 * a + 300 * b << endl;
	}
	return 0;
}