#include <iostream>
#include <string>

using namespace std;

int main(int argc, char const* argv[])
{
	string name;
	int a,b;

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