#include <iostream>
#include <string>
#include <vector>
using namespace std;

struct Tally
{
	Tally(){}
	Tally( string s, int n, int a ) : name( s ), num( n ), amount( a ){}
	string name;
	int num;
	int amount;
};

int main()
{
	vector< Tally > v;
	for( int i = 0; i < 9; ++i ){
		string s;
		int a, b;
		cin >> s >> a >> b;
		v.push_back( Tally( s, a + b, a * 200 + b * 300 ) );
	}
	for( int i = 0; i < 9; ++i ){
		cout << v[ i ].name << " " << v[ i ].num << " " << v[ i ].amount << endl;
	}

	return 0;
}