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>
using namespace std;
int main(){
    char cls[5]={0};
    while(scanf("%s",cls)!=EOF){
        int a,b;
        scanf("%d%d",&a,&b);
        int x;
        x = (a*200)+(b*300);
        printf("%s %d %d\n",cls,a+b,x);
    }
    return 0;
}

C++: #include <cstdio>

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

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

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

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


int main() {
  for(int i = 0; i < CLASS_NUM; i++) {
    string str;
    int num1, num2;
    cin >> str >> num1 >> num2;
    cout << str << ' ' << num1+num2 << ' ' << num1*200+num2*300 << endl;
  }
  return 0;
}

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

C++: #include<stdio.h>
#include<string.h>
#include<math.h>
int main(void)
{
	int a,s,d,f,g,h,i,j,k;
	char z[10];
	while(scanf("%s %d %d",z,&a,&s)!=EOF){
		d=a*200+s*300;
		f=a+s;
		printf("%s %d %d\n",z,f,d);
	}
	return 0;
}

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

using namespace std;

int main(){

char s[17];

int a,b;

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

}

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

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

C++: #include <bits/stdc++.h>
using namespace std;
int main(){
	string s;
	int a,b;
	while(cin>>s>>a>>b){
		cout<<s<<" "<<a+b<<" "<<a*200+b*300<<endl;
	}
}

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

#define REP(i, x, n) for(int i = x; i < n; i++)
#define rep(i,n) REP(i,0,n)
#define all(x)   (x).begin(),(x).end()
#define pb push_back
#define fr first
#define sc second
#define pf printf
#define sf scanf

typedef vector<int> vi;
typedef vector<long long> vl;
typedef vector<double> vd;
typedef pair<int,int> pii;
typedef pair<long,long> pll;
typedef long long ll;

const int INF = (1<<25);
const int dx[]={1,0,-1,0},dy[]={0,-1,0,1};

int main(){

  char class_name[9][16];
  int before[9];
  int after[9];
  rep(i,9){
    cin>> class_name[i]>> before[i]>> after[i];
  }
  rep(i,9){
    pf("%s %d %d\n",class_name[i],before[i]+after[i],before[i]*200+after[i]*300);
  }
}

C++: #include<iostream>
#include<cstdio>
#include<algorithm>
#include<climits>
#include<string>
#include<vector>
#include<list>
#include<map>
#include<set>
#include<cmath>
#include<queue>
#include<cstring>
#include<stack>
#include<functional>
using namespace std;

int main(){
	for(int i=0;i<9;i++){
		string S;
		int A,B,sum;
		cin>>S>>A>>B; sum = 200*min(A,400)+300*min(B,400);
		cout<<S; printf(" %d %d\n",A+B,sum);
	}
	return 0;
}

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

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

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

using namespace std;

int main()
{
    int gozen,gogo;
    string ss;
    while(cin>>ss>>gozen>>gogo)
    {
        cout <<ss<<" "<<gozen+gogo<<" " <<gozen*200+gogo*300<<endl;
    }

    return 0;
}

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

C++: #include<iostream>
#include<string>
using namespace std;
string S;
int a, b;
int main() {
	while (cin >> S >> a >> b) {
		cout << S << ' ' << a + b << ' ' << a * 200 + b * 300 << endl;
	}
}

C++: #include<iostream>
using namespace std;
#define loop(i,a,b) for(int i=a;i<b;i++)
#define rep(i,a) loop(i,0,a)
int main(){
	int am,pm;
	char name[15];
	rep(i,9){
		cin>>name>>am>>pm;
		cout<<name<<" "<<am+pm<<" "<<am*200+pm*300<<endl;
	}
}

C++: #include <cstdio>
#include <algorithm>
using namespace std;

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

C++: #include <stdio.h>

int main(void) {

  int am,pm;
  char class[20];

  
  while(scanf("%s %d %d",class,&am,&pm)!=EOF) {

    printf("%s %d %d\n",class,am+pm,am*200+pm*300);

  }

  return 0;

}

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

int main(){
	string name;
	int t1,t2;
	for(int i=0;i<9;i++){
		cin >> name >> t1 >> t2;
		cout << name << " " << t1+t2 << " " << t1*200 + t2 * 300 << 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 < 9; i++){
		cout << class_[i] << " " << kazu[i] << " " << fee[i] << endl;
	}
	return 0;
}

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

using namespace std;

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

C++: using System;

class main {
	public static void Main(string[] args) {
		for(int i=0; i<9; i++) {
			var input = Console.ReadLine().Split();
			int a = int.Parse(input[1]);
			int b = int.Parse(input[2]);
			Console.WriteLine("{0} {1} {2}", input[0], a+b, a*200+b*300);
		}
	}
}

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

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

C++: // 2011/01/23 Tazoe

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

int main()
{
	string cls[9];
	int n_am[9];
	int n_pm[9];

	for(int i=0; i<9; i++)
		cin >> cls[i] >> n_am[i] >> n_pm[i];

	for(int i=0; i<9; i++)
		cout << cls[i] << ' ' << n_am[i]+n_pm[i] << ' ' << n_am[i]*200+n_pm[i]*300 << endl;

	return 0;
}

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

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