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