#include <iostream>
using namespace std;
/** Problem0173 : Haunted House **/
int main()
{
	int c[9]={0}, num[9];
	string n[9];
	
	for (int i=0; i<9; i++) {
		int am, pm;
		cin >> n[i] >> am >> pm;
		c[i] = am*200 + pm*300;
		num[i] = am+pm;
	}
	
	for (int i=0; i<9; i++)
		cout <<n[i] << " " << num[i] << " " << c[i] << endl;
}