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<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;
		printf("%s %d\n",z,d);
	}
	return 0;
}

C++: #include<iostream>
#include<string>
using namespace std;
int main(){
  string c;
  int n,p;
  while(cin>>c>>n>>p)  cout << c << ' ' << n+p << ' ' <<  200*n+300*p << endl;
  return 0;
}

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

C++: #include<cstdio>
using namespace std;
int main(){
    char cls[16]={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<stdio.h>
#include<iostream>
#include<string>
using namespace std;

int main(){

string st;
int x,y,z=0;

for(int i=0;i<9;i++)
{
cin>>st;
cin>>x>>y;
z=x*200+y*300;
x=x+y;

cout<<st<<" "<<x<<" "<<z<<endl;
}
return 0;
}

C++: #include<stdio.h>

int main(void)
{
	int gozen,gogo; 
	int sum,nin;
	char namae[16];
	int i;

	for(i=0;i<9;i++){
		scanf("%s %d %d",namae,&gozen,&gogo);
		nin=gozen+gogo;
		sum=gozen*200+gogo*300;
		printf("%s %d %d\n",namae,nin,sum);
	}
	return 0;
}

C++: #include <stdio.h>

int main(void) {

  int am,pm;
  char cls[20];

  int i;

  
  for(i=0;i<9;i++) {

    scanf("%s %d %d",cls,&am,&pm);
    
    printf("%s %d %d\n",cls,am+pm,am*200+pm*300);
    
  }

  return 0;

}

C++: #include<stdio.h>

int main(){
	char className [9][15];
	int a[9],b[9];
	int i;

	for(i = 0; i < 9; i++){
		scanf("%s %d %d", className[i], &a[i], &b[i]);
	}

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

	return 0;
	}

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

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

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

  for(i=0;i<9;i++){
    cout << name[i] << ' '<< am[i] + pm[i] << ' '<< am[i] * 200 + pm[i] * 300 << endl;
  }

  return 0;
}

C++: #include <iostream>

using namespace std;
 
int main()
{
    string str;
    int b, a;
 
    while (cin >> str >> b >> a) {
	cout << str << ' ' << b+a << ' ' << b*200+a*300 << endl;
    }
    return 0;
}

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

int main()
{
  while (true)
  {
    string class_name;
    int am_num, pm_num;
    cin >> class_name >> am_num >> pm_num;
    if ( cin.eof() ) break;
    cout << class_name << ' '<< am_num+pm_num  << ' ' << 200*am_num + 300*pm_num << endl;
  }
}

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

using namespace std;
using ll = long long;
using pii = pair<int, int>;

int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(false);
  cout << fixed << setprecision(10);
  
  string s;
  int a, b;
  while (cin >> s >> a >> b) {
    cout << s << " " << a + b << " " << a * 200 + b * 300 << endl;
  }

  return 0;
}

C++: #include <iostream>

using namespace std;

int main(void){

  char c[15];
  int before;
  int after;

  for( int i = 0 ; i < 9 ; i++ ){
    cin >> c >> before >> after;
    cout << c << " " << before + after << " " << before*200 + after*300 << endl;
  }

  return 0;
}

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] << endl;
	return 0;
}

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

int main(){

	for (int i = 0; i<9; i++){
		std::string name;
		int a, b;
		std::cin >> name >> a >> b;
		std::cout << name << " " << a + b << " " << a * 200 + b * 300 << std::endl;

	}

	return 0;
}

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

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

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

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

C++: #include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<cassert>
#include<iostream>
#include<sstream>
#include<string>
#include<vector>
#include<queue>
#include<set>
#include<map>
#include<utility>
#include<numeric>
#include<algorithm>
#include<bitset>
#include<complex>

using namespace std;

typedef long long Int;
typedef vector<int> vint;
typedef pair<int,int> pint;
#define mp make_pair

template<class T> void pv(T a, T b) { for (T i = a; i != b; ++i) cout << *i << " "; cout << endl; }
template<class T> void chmin(T &t, T f) { if (t > f) t = f; }
template<class T> void chmax(T &t, T f) { if (t < f) t = f; }
int in() { int x; scanf("%d", &x); return x; }

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

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

int main(void){
int a,b;
string s;

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

C++: // class

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

static const int MAX_N = 9;
static const int AM_V = 200;
static const int PM_V = 300;

struct DATA {
	int cnt;
	int value;
	string name;
};

class CLS {
private:
	DATA data;

public:
	CLS();
	void set(int in_cnt, int in_value, string set_str);
	DATA get();
};

CLS::CLS()
{

	this->data.cnt   = 0;
	this->data.value = 0;
	this->data.name  = "no name";

};

void CLS::set(const int in_cnt, const int in_value, const string set_str)
{

	this->data.cnt   = in_cnt;
	this->data.value = in_value;
	this->data.name  = set_str;

}

DATA CLS::get()
{

	return this->data;

}

int main()
{

	int am_c, pm_c;
	string n_str;
	CLS cls[MAX_N];
	
	for(int i = 0; i < MAX_N; i++) {
		cin >> n_str >> am_c >> pm_c;
		cls[i].set(am_c + pm_c, am_c * AM_V + pm_c * PM_V, n_str);
	}

	for(int i = 0; i < MAX_N; i++) {
		cout << cls[i].get().name << " " << cls[i].get().cnt << " " << cls[i].get().value << endl;
	}

	return 0;

}

C++: #include <iostream>
#include <cstdio>
#include <algorithm>
#include <map>
#include <vector>

using namespace std;

int main(){
	
	string str[10];
	int num1[10], num2[10];
	
	for(int i = 0; i < 9; i++){
		cin >> str[i] >> num1[i] >> num2[i];
	}
	
	
	for(int i = 0; i < 9; i++){
		cout << str[i] << " " << num1[i] + num2[i] << " " << num1[i] * 200 + num2[i] * 300 << endl;
	}
	
	return 0;
}

C++: #include<cstdio>
#include<cstring>
#include<algorithm>
#include<functional>
using namespace std;
int main(void)
{
	int b,a,sum,p;
	char ss[1000];
	printf("0");
	while(scanf("%s %d %d",ss,&a,&b)!=EOF){
		sum=a*200+b*300;
		p=a+b;
		printf("%s %d %d\n",ss,p,sum);
	}
	return 0;
}