#include<iostream>
#include<string>

using namespace std;

typedef struct{
	string name;
	int Anum;
	int Pnum;
}DATA;

int main(void){
	std::ios_base::sync_with_stdio();

	DATA goast[10];

	for(int i=0;i<9;i++){
		cin>>goast[i].name>>goast[i].Anum>>goast[i].Pnum;
	}
	for(int i=0;i<9;i++){
		cout<<goast[i].name<<" ";
		cout<<goast[i].Anum+goast[i].Pnum<<" ";
		cout<<goast[i].Anum*200+goast[i].Pnum*300<<endl;
	}
	return 0;
}