#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;
}