#include<iostream>
#define AM_Y 200
#define PM_Y 300
using namespace std;
int main(){
	char c_name[15];
	int am, pm;
	for(int i=0;i<9;i++){
		cin>>c_name>>am>>pm;
		cout<<c_name<<" "<<(am+pm)<<" "<<((am*200)+(pm*300))<<endl;
	}
	return 0;
}