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 <bits/stdc++.h>

#define loop(v, f, l) for(int v = (f), v##_ = (l); v < v##_; ++v)

using namespace std;

typedef long long int lint;
static inline int in(){ int x; scanf("%d", &x); return (x); }
static inline lint inl(){ lint x; scanf("%lld", &x); return (x); }

int main()
{
	for(int i = 0; i < 9; i++)
	{
		char line[32];
		char class_name[16];
		int num[2];
		fgets(line, 32, stdin);
		sscanf(line, "%s%d%d", class_name, &num[0], &num[1]);
		printf("%s %d %d\n", class_name, num[0] + num[1], num[0] * 200 + num[1] * 300);
	}
	return (0);
}

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

string name[9];
int am[9];
int pm[9];
int sumapm[9];
int money[9];

int main(){
	for(int i=0;i<9;i++){
		cin>>name[i]>>am[i]>>pm[i];
		}
		
		for(int i=0;i<9;i++){
			sumapm[i]=am[i]+pm[i];
			}
		for(int i=0;i<9;i++){
			money[i]=am[i]*200+(pm[i]*300);
			}	
			
		for(int i=0;i<9;i++){
			cout<<name[i]<<" "<<sumapm[i]<<" "<<money[i]<<endl;
			}	
			return 0;
	}

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

struct Classroom {
    char name[16];
    int visitor;
    int income;
};

int main() {
    Classroom classroom[9];
    for (int i = 0; i < 9; i++) {
        int am, pm;
        cin >> classroom[i].name >> am >> pm;
        classroom[i].visitor = am + pm;
        classroom[i].income = am * 200 + pm * 300;
    }
    for (int i = 0; i < 9; i++) {
        cout << classroom[i].name << " " << classroom[i].visitor << " " << classroom[i].income << endl;
    }
}

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

main(){
	for(int i=0; i<9; ++i){
		// クラス名
		char name[16];
		
		// 午前の入場者数, 午後の入場者数
		int a, b;
		
		cin >> name >> a >> b;
		
		// 入場総数
		int x = a + b;
		
		// 収入 (午前200円, 午後300円)
		int y = 200*a + 300*b;
		
		printf("%s %d %d\n",name,x,y);
	}
}

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

#define pb(n) push_back(n)
#define fi first
#define se second
#define all(r) (r).begin(),(r).end()
#define gsort(st,en) sort((st),(en),greater<int>())
#define vmax(ary) *max_element(all(ary))
#define vmin(ary) *min_element(all(ary))
#define debug(x) cout<<#x<<": "<<x<<endl
#define fcout(n) cout<<fixed<<setprecision((n))
#define scout(n) cout<<setw(n)
#define vary(type,name,size,init) vector< type> name(size,init)

#define rep(i,n) for(int i = 0; i < (int)(n);++i)
#define REP(i,a,b) for(int i = (a);i < (int)(b);++i)
#define repi(it,array) for(auto it = array.begin(),end = array.end(); it != end;++it)
#define repa(n,array) for(auto &n :(array))

using ll = long long;
using vi = vector<int>;
using vl = vector<ll>;
using dict = map<string,int>;
using pii = pair<int,int> ;

const int mod = 1000000007;
constexpr int imax = ((1<<30)-1)*2+1 ;
constexpr int inf = 100000000;
constexpr double PI = acos(-1.0) ;
double eps = 1e-10 ;
const int dy[] = {-1,0,1,0};
const int dx[] = {0,-1,0,1};

inline bool value(int x,int y,int w,int h){
  return (x >= 0 && x < w && y >= 0 && y < h);
}

template<typename T>
void Unique(vector<T> &v){
  sort(all(v));
  v.erase(unique(all(v)),v.end());
}

template<typename T>
T ston(string& str, T n){
  istringstream sin(str) ;
  T num ;
  sin >> num ;
  return num ;
}

void Ans(bool f){
  if(f) cout << "YES"<<endl;
  else cout << "NO"<<endl;
}

int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  vector<string> s;
  vector<int> a,b;
  string str,st;
  int c,d;
  while(cin >> st >> c >> d){
    s.pb(st);
    a.push_back(c+d);
    b.push_back(c*200+d*300);
  }
  rep(i,s.size()){
    cout << s[i] << " " << a[i]<< " " << b[i] << endl;
  }
  return 0;
}

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

C++: #include<stdio.h>

int n=9,a,b;
char s[20];

int main(){
	while(n--){
		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<algorithm>
using namespace std;

int main() {
	int a[9],b[9],d,e;
	string c[9];
	for(int i=0;i<9;i++){
		cin>>c[i]>>a[i]>>b[i];
	}
	for(int i=0;i<9;i++){
		d=a[i]+b[i];
		e=a[i]*200+b[i]*300;
		cout<<c[i]<<" "<<d<<" "<<e<<endl;
	}
	// your code goes here
	return 0;
}

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


int main(){

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

}

C++: #include "bits/stdc++.h"

#define REP(i,num) for(int i=0;i<(num);++i)
#define ALL(c) c.begin(),c.end()
#define LOOP(i) while(i--)
#define PRINTALL(c) for(auto pitr=c.begin();pitr!=c.end();++pitr){cout<<*pitr;if(next(pitr,1)!=c.end())cout<<' ';}cout<<endl;
#define PAIRCOMP(c,comp) [](const pair<ll,ll>& lhs,const pair<ll,ll>& rhs){return lhs.c comp rhs.c;}

using namespace std;
using ll = long long;

constexpr ll atcoder_mod = 1e9+7;

template<typename T=int>
T in(){T x; cin >> x; return (x);}
template<typename T=int,typename C=vector<T>>
C vecin(int N){C x(N);REP(i,N){x[i]=in<T>();}return move(x);}

void vout(){cout << endl;}
template<typename Head,typename... Tail>
void vout(Head&& h,Tail&&... t){cout << ' ' << h;vout(forward<Tail>(t)...);}
void out(){cout << endl;}
template<typename Head,typename... Tail>
void out(Head&& h,Tail&&... t){cout << h;vout(forward<Tail>(t)...);}

int main(){
	cin.tie(0);
	ios::sync_with_stdio(false);
	cout<<fixed<<setprecision(10);

	REP(n,9){
		string S=in<string>();
		ll A=in(),B=in();
		out(S,A+B,200LL*A+300LL*B);
	}
	return 0;
}

C++: #include<iostream>
#include<string>
#include<algorithm>
#include<map>
#include<set>
#include<utility>
#include<vector>
#include<cmath>
#include<cstring>
#include<cstdio>
#include<time.h>
#define loop(i,a,b) for(int i=a;i<b;i++) 
#define rep(i,a) loop(i,0,a)
#define rp(a) while(a--)
#define pb push_back
#define mp make_pair
#define all(in) in.begin(),in.end()
const double PI=acos(-1);
const double EPS=1e-10;
using namespace std;
typedef long long ll;
typedef vector<int> vi;
int main(){
	string s;
	int a,b;
	while(cin>>s>>a>>b){
		cout<<s<<" "<<a+b<<" "<<a*200+b*300<<endl;
	}
}

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

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

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

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

C++: #include <iostream>
#include <string>
using namespace std;
int main(void){
    string a;
    int b,c;
    
    for (int i=0;i<9;i++){
        cin >> a>>b>>c;

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