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++: #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <iostream>
#include <cstdio>
#include <vector>
#include <string>
#include <array>
#include <queue>
#include <deque>
#include <set>
#include <list>
#include <map>
#include <stack>
#include <utility>
#include <bitset>
#include <complex>
#include <algorithm>
#include <numeric>
#include <cstdlib>
#include <cmath>
#include <cctype>
#include <cstring>
#include <climits>
#include <random>
#include <functional>
#include <sstream>
#include <iomanip>

using namespace std;

#define rep(i, n) for(int i=0; i<(n); i++)
#define FOR(i, m, n) for(int i=(m);i<(n);i++)
#define sz(x) ((int)(x).size())
#define all(x) (x).begin(),(x).end()
#define SORT(x) sort((x).begin(),(x).end())
#define REVE(x) reverse((x).begin(),(x).end())
#define mp make_pair
#define pb push_back
#define Cout(x) cout << (x) << endl
#define Cout2(x, y) cout << (x) << " " << (y) << endl
#define dump(x) cout << #x << " = " << (x) << endl;
#define forauto(i, a) for(auto i : a)cout << i << " "; puts("");

typedef long long LL;
typedef vector<int> VI;
typedef vector<LL> VL;
typedef vector<string> VS;
typedef vector<bool> VB;
typedef vector<vector<int>> VVI;
typedef pair<int, int> PII;
typedef pair<double, double> PDD;
typedef complex<double> CD;

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

C++: #include <iostream>

using namespace std;

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

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

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

C++: #include<iostream>
#include<string>
#include<cstdio>
#include<algorithm>
#include<stack>
#include<queue>
#include<vector>
#include<cmath>
#include<utility>
#include<set>
#include<complex>
#include<map>
#define vi vector<int>
#define vvi vector<vector<int> >
#define ll long long int
#define vl vector<ll>
#define vvl vector<vector<ll>>
#define vb vector<bool>
#define vc vector<char>
#define vs vector<string>
#define ld long double
#define INF 1e9
#define EPS 0.0000000001
#define rep(i,n) for(int i=0;i<n;i++)
#define loop(i,s,n) for(int i=s;i<n;i++)
#define CC puts("-------ok--------");
#define all(in) in.begin(), in.end()
using namespace std;
typedef pair<int, int> pii;
#define MAX 99999999
typedef struct{
    string s;
    int gozen;
    int gogo;
}data;
int main(){
    data array[9];rep(i,9)cin>>array[i].s>>array[i].gozen>>array[i].gogo;
    rep(i,9)cout<<array[i].s<<" "<<array[i].gozen+array[i].gogo<<" "<<array[i].gozen*200+array[i].gogo*300<<endl;
}

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

typedef long long ll;
typedef pair<int, int> P;

#define pb push_back
#define rep(i, a, n) for(int i = (a); i < (n); i++)
#define dep(i, a, n) for(int i = (a); i >= (n); i--)
#define mod 1e9+7

__attribute__((constructor))
void initial() {
  cin.tie(0);
  ios::sync_with_stdio(false);
}

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

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",m+a,m*200+a*300);
}
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 <iostream>
using namespace std;
int main(void){
    int a,b;
    char name[20];
    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>
using namespace std;

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