#include <iostream>
#include <vector>
#include <string>
using namespace std;
typedef pair<int, int> P;

void solve()
{
	vector<P> Num(9);
	vector<string> str(9);

	for(int i = 0; i < 9; ++i)
	{
		cin >> str[i] >> Num[i].first >> Num[i].second;
	}
	for(int i = 0; i < 9; ++i)
	{
		cout << str[i] << " " << Num[i].first + Num[i].second << " " << Num[i].first * 200 + Num[i].second * 300 << endl;
	}
}

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