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<string>
#include<map>
#include<algorithm>
using namespace std;
int main(){
  pair<pair<string,int>,int> piii[9];
  for(int i=0;i<9;i++){
    string str;int a,b;
    cin>>str>>a>>b;
    piii[i]=make_pair(make_pair(str,a+b),200*a+300*b);
  } 
  for(int i=0;i<9;i++)
    cout<<piii[i].first.first<<" "<<piii[i].first.second<<" "<<piii[i].second<<endl;
  return 0;
}

C++: #include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <utility>
#include <stack>
#include <queue>
#include <map>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>

using namespace std;

#define rep(i,n) for(int i=0; i<(n); i++)
#define repc(i,s,e) for(int i=(s); i<(e); i++)
#define pb(n) push_back((n))
#define mp(n,m) make_pair((n),(m))
#define all(r) r.begin(),r.end()
#define fi first
#define se second

typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vii;
typedef vector<ll> vl;
typedef vector<vl> vll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;




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

C++: #include<iostream>
#include<string>
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;
  }
}

C++: #include<string>
#include<iostream>
#include<algorithm>
using namespace std;
int main(){
	char class_[9][10];
	int a, b, fee[9], kazu[9];
	for (int i = 0; i < 9; i++){
		cin >> class_[i];
		cin >> a >> b;
		kazu[i] = a + b;
		fee[i] = a * 200 + b * 300;
 	}
	for (int i = 0; i < 8; i++){
		cout << class_[i] << " " << kazu[i] << " " << fee[i] << endl;
	}
	cout << class_[8] << " " << kazu[8] << " " << fee[8];
	return 0;
}

C++: # include <iostream>
# include <algorithm>
# include <vector>
# include <string>
# include <set>
# include <map>
# include <cmath>
# include <iomanip>
# include <functional>
# include <utility>
# include <stack>
# include <queue>
# include <list>
using namespace std;
using LL = long long;
constexpr long long MOD = 1000000000 + 7;
constexpr long long INF = 1000000000;
const double PI = acos(-1);

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

C++: #include <cstdio>

int main(void)
{
    char name[9][20];
    int am, pm;
    int money[9];
    int sum[9];
    
    for (int i = 0; i < 9; i++){
        scanf("%s %d %d", name[i], &am, &pm);
        money[i] = (am * 200) + (pm * 300);
        sum[i] = am + pm;
    }
    
    for (int i = 0; i < 9; i++){
        printf("%s %d %d\n", name[i], sum[i], money[i]);
    }
    
    return (0);
}

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

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

using namespace std;


const int MorningPrice = 200;
const int AfternoonPrice = 300;

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

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

	return 0;
}

C++: #include<stdio.h>
int main()
{
	char s[3];
	int a,b,i;
	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;
int main() {
	string name[10];
	int a, b, c[10], d[10];
	for (int i = 1; i <= 9; i++) {
		cin >> name[i] >> a >> b;
		c[i] = a + b;
		d[i] = a * 200 + b * 300;
	}
	for (int i = 1; i <= 9; i++) {
		cout << name[i] << " " << c[i] << " " << d[i] << endl;
	}
}

C++: #include <iostream>
#include <complex>
#include <sstream>
#include <string>
#include <algorithm>
#include <deque>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <vector>
#include <set>
#include <limits>
#include <cstdio>
#include <cctype>
#include <cmath>
#include <cstring>
#include <cstdlib>
#include <ctime>
using namespace std;
#define REP(i, j) for(int i = 0; i < (int)(j); ++i)
#define FOR(i, j, k) for(int i = (int)(j); i < (int)(k); ++i)
#define SORT(v) sort((v).begin(), (v).end())
#define REVERSE(v) reverse((v).begin(), (v).end())
typedef complex<double> P;
const int N = 9;

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

C++: #include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <utility>
#include <stack>
#include <queue>
#include <map>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>

using namespace std;

#define rep(i,n) for(int i=0; i<(n); i++)
#define repc(i,s,e) for(int i=(s); i<(e); i++)
#define pb(n) push_back((n))
#define mp(n,m) make_pair((n),(m))
#define all(r) r.begin(),r.end()
#define fi first
#define se second

typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vii;
typedef vector<ll> vl;
typedef vector<vl> vll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;




int main() {
	map<string,pii> m;
	string s;
	int a, b;
	rep(i, 9) {
		cin >> s >> a >> b;
		m[s].fi = a + b;
		m[s].se = a * 200 + b * 300;
	}
	for (map<string, pii>::iterator it = m.begin(); it != m.end(); it++) {
		cout << it->first << " " << it->second.first << " " << it->second.second << endl;
	}
}

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

#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define REP(i,n) FOR(i,0,n)

int main() {
	REP(i, 9) {
		string name;
		int num = 0, total = 0;
		int in;
		cin >> name;
		cin >> in;
		num += in; total += 200 * in;
		cin >> in;
		num += in; total += 300 * in;
		
		cout << name << " " << num << " " << total << endl;
	}
	
	return 0;
}

C++: // Tazoe

#include <iostream>
#include <string>
using namespace std;

int main()
{
	for(int i=0; i<9; i++){
		string name;
		int am, pm;
		cin >> name >> am >> pm;

		cout << name << ' ' << am+pm << ' ' << 200*am+300*pm << '\n';
	}

	return 0;
}

C++: #include <bits/stdc++.h>

using namespace std;

int main() {
  
  while(1) {
    string name; int a, b;
    if(!(cin >> name >> a >> b)) break;
    cout << name << ' ' << a+b << ' ' << a*200 + b*300 << endl;
  }
  
  return 0;
}

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

int main(){
	string s;
	int am,pm;
	while( cin >> s >> am >> pm ){
		cout << s << " " << am + pm << " " << am*200 + pm*300 << endl;
	}
}

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