#include <iostream>
#include <string>
using namespace std;
int keisan(int,int);
int keisanz(int,int);
int main(){
	int a,b,c;
	string str;
	int data,data2;
	for (int i=0;i<9;i++){
		cin>>str>>a>>b;
		data=keisan(a,b);
		data2=keisanz(a,b);
		cout<<str<<" "<<data<<" "<<data2<<endl;
	}
	return 0;
}
int keisan(int a,int b){
	int k=0;
	k=a+b;
	return k;
}
int keisanz(int a,int b){
	int l=0;
	l=a*200+b*300;
	return l;
}

