#include <iostream>
using namespace std;
int main( void )
{
	string name;
	int gozen, gogo;

	for ( int i = 0; i < 9; i++ )
	{
		cin >> name >> gozen >> gogo;
		cout << name << " " << gozen + gogo << " " << gozen * 200 + gogo * 300 << endl;
	}

	return 0;
}