#include <iostream>
#include <string>
using namespace std;
int main()
{
	int n, m, i, s[9], p[9];
	string c[9];
	for (i = 0; i < 9; i++)
	{
		cin >> c[i] >> n >> m;
		s[i] = n+m;
		p[i] = n*200 + m*300;
	}
	for (i = 0; i < 9; i++)
		cout << c[i] << " " << s[i] << " " << p[i] << endl;
}