#include<iostream>
#include<string>
using namespace std;
int main() {
	string classname[9];
	int AMPM[9][2];
	for (int i = 0; i < 9; i++)
	{
		cin >> classname[i] >> AMPM[i][1] >> AMPM[i][2];
	}
	for (int i = 0; i < 9; i++)
	{
		cout << classname[i] << " " << AMPM[i][1] + AMPM[i][2] << " " << AMPM[i][1] * 200 + AMPM[i][2] * 300 << endl;
	}
	char a__;
	cin >> a__;
}