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<cstdio>
#include<iostream>
using namespace std;
int main(void){
	int i,n[9][2],a,b;
	char str[9][10];
	for(i=0;i<9;i++){
		cin>>str[i];
		cin>>a;
		cin>>b;
		n[i][0]=a+b;
		n[i][1]=a*200+b*300;
	}
	for(i=0;i<9;i++){
		printf("%s %d %d\n",str[i],n[i][0],n[i][1]);
	}
	return 0;
}

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

using namespace std;

struct CLASS{
  string s;
  int number;
  int sum;
};

int main(){
  int i, n, m;
  string str;
  CLASS data[9];

  for(i=0; i<9; ++i){
    cin >> str >> n >> m;
    data[i].s = str;
    data[i].number = n + m;
    data[i].sum = 200*n + 300*m;
  }

  for(i=0; i<9; ++i)
    cout << data[i].s << " " << data[i].number << " " << data[i].sum << endl;

  return 0;
}

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

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

using namespace std;

int main(int argc, char const* argv[])
{
	string name;
	int a,b;

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

C++: #include "bits/stdc++.h"
#include<unordered_map>
#include<unordered_set>
#pragma warning(disable:4996)
using namespace std;
using ld = long double;
template<class T>
using Table = vector<vector<T>>;
const ld eps=1e-9;

//// < "D:\D_Download\Visual Studio 2015\Projects\programing_contest_c++\Debug\a.txt" > "D:\D_Download\Visual Studio 2015\Projects\programing_contest_c++\Debug\b.answer"
int main() {
	for (int i = 0; i < 9; ++i) {
		string st; cin >> st;
		int a, b; cin >> a >> b;
		cout << st << a + b << a * 200 + b * 300 << endl;
	}
	return 0;
}

C++: #include<iostream>
using namespace std;
int main(){

  string a;
  int b,c;

  for(int i=0;i<9;i++){
    cin >> a >> b >> c;
    cout << a << ' ' << b+c << ' ' << (b*200+c*300) << endl;
  }

  return (0);
}

C++: #include <bits/stdc++.h>
using namespace std;
int main() {

  for(int i=0; i<9; i++) {
    char s[16];
    int a, b;
    cin >> s >> a >> b;
    printf("%s %d %d\n", s, a+b, a*200 + b*300);
  }
}

C++: 
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <string>
#include <math.h>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <sstream>
#include <iomanip>
#include <stdlib.h>

using namespace std;

int main(void)
{
	string n[100];
	int a[100], b[100];

	for (int i = 0; i < 9; i++)
	{
		cin >> n[i] >> a[i] >> b[i];
	}

	for (int i = 0; i < 9; i++)
	{
		cout << n[i] << " " << a[i] + b[i] << " " << (a[i] * 200) + (b[i] * 300) << endl;;
	}
}

C++: #define _USE_MATH_DEFINES
#include<iostream>
#include<cstdio>
#include<vector>
#include<algorithm>
#include<string>
#include<cmath>
#include<list>
#include<stack>
#include<queue>
#include<cctype>
#include<iomanip>
#include<functional>
#include<numeric>
#include<map>
#include<set>
#include<complex>
#define EPS 1e-10
using namespace std;
typedef long long llong;
int main() {
	string s;
	int a, b;
	for (int i = 0; i < 9; i++) {
		cin >> s >> a >> b;
		cout << s << " " << a + b << " " << a * 200 + b * 300 << endl;
	}
	return 0;
}

C++: #include <iostream>
#include <string>
using namespace std;
int main(void){
	for(int i=0; i<9; i++){
		string team;
		int am, pm;
		cin >> team >> am >> pm;
		cout << team;
		printf(" %d %d\n",am+pm, am*200 + pm*300);
	}
	return 0;
}

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

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

int main(void)
{
	char name[20];
	int bef,aft;

	for(int i = 1; i <= 9; i++){
		cin >> name >> bef >> aft;
		cout << name << ' ' << bef+aft << ' ' << bef*200+aft*300 << endl;
	}

	return 0;
}

C++: #define _USE_MATH_DEFINES
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <climits>
#include <cfloat>
#include <ctime>
#include <cassert>
#include <map>
#include <utility>
#include <set>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#include <sstream>
#include <complex>
#include <stack>
#include <queue>
#include <numeric>
#include <list>
#include <iomanip>
#include <iterator>
 
using namespace std;
 
typedef long long ll;
typedef pair<int,int> Pii;
typedef pair<ll,ll> Pll;
 
#define FOR(i,n) for(int i = 0; i < (n); i++)
#define sz(c) ((int)c.size())

typedef unsigned long long ull;
const int INF = (int)1e8;

int main(){
	string s;
	while(getline(cin,s)){
		istringstream iss(s);
		string name;
		int x,y; iss>>name>>x>>y;
		printf("%s %d %d\n",name.c_str(),x+y,x*200+y*300);
	}
	return 0;
}

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

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

C++: #include<iostream>
#include<vector>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<string>
#include<sstream>
#include<cmath>
#include<numeric>
#include<map>
#include<stack>
#include<queue>
using namespace std;
int inf = 1000000000;

int main(void) {

  string s; int a, b;
  vector< pair<string, pair<int, int> > > ans;
  while( cin >> s >> a >> b ){
    bool f = false;
    for(int i=0; i<ans.size(); i++){
      if( ans[i].first == s ){
        f = true;
        ans[i].second.second += 200 * a + 300 * b;
        ans[i].second.first += a + b;
      }
    }
    if( !f ) ans.push_back( make_pair(s, make_pair(a+b, 200*a + 300*b)) );
  }
  sort(ans.begin(), ans.end());
  for(int i=0; i<ans.size(); i++){
    cout << ans[i].first << " " << ans[i].second.first << " " << ans[i].second.second << endl;
  }

  return 0;
}

// EOF

C++: #include<cstdio>

int main(){
char n[32];
int m,a;
for(int i=0;i<9;i++){
scanf("%s%d%d",n,&m,&a);
printf("%s %d %d\n",n,m+a,m*200+a*300);
}
return 0;
}

C++: #include <bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(),(x).end()
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define repr(i, n) for(int i = n; i >= 0; i++)
#define REP(i, m, n) for(int i = m; i < n; i++)
#define SORT(v) sort((v).begin(), (v).end())
#define REV(v) sort((v).begin(), (v).end(), greater<int>())
typedef long long ll;
int gcd(int a,int b){return b?gcd(b,a%b):a;};
int lcm(int a,int b){return a * b / gcd(a, b);};

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