#include<iostream>

using namespace std;

struct classP{
	string name;
	int gozen;
	int gogo;
	int sp;
	int price;
};

int main(){
	 
	classP A[9] = {};
	
	for(int i=0;i<9;i++) {
		
		cin >> A[i].name >> A[i].gozen >> A[i].gogo;
		
		A[i].sp = A[i].gozen + A[i].gogo;
		A[i].price = A[i].gozen * 200 + A[i].gogo * 300;
			
	} 
	for(int i=0;i<9;i++)
	cout << A[i].name << " " << A[i].sp << " "
		 << A[i].price << "\n";
	
		
  	return 0;
}
