#include <iostream>
#include <string>

using namespace std;

void solve()
{
	for(int i = 0; i < 9; ++i)
	{
		string str;
		cin >> str;
		int am, pm;
		cin >> am >> pm;
		cout << str << " " << am + pm << " " << 200 * am + 300 * pm << endl;
	}
}

int main()
{
	solve();
	return(0);
}