#include<iostream>

using namespace std;

int main(){
	char name[10][16]={'\0'};
	int gozen[10]={0},gogo[10]={0};
	const int payGozen=200,payGogo=300;
	
	for(int i=0;i<9;i++){
		cin>>name[i]>>gozen[i]>>gogo[i];
	}
	
	for(int i=0;i<9;i++){
		cout<<name[i]<<" "<<gozen[i]+gogo[i]<<" "<<
			  payGozen*gozen[i]+payGogo*gogo[i]<<endl;
	}
}