#include <iostream>
using namespace std;

int main()
{
	char cn[16];
	int a, b;
	
	for (int i = 0; i < 9; i++) {
		cin >> cn >> a >> b;
		cout << cn << " " << a + b << " " << 200 * a + 300 * b << endl;
	}

	return 0;
}

