#include <iostream>
#include <string>
using namespace std;

int main() {
	int a, b;
	string s;
	for (int i = 0; i < 9; i++) {
		cin >> s >> a >> b;
		cout << s << " " << a + b << " " << a * 200 + b * 300 << endl;
	}
	return 0;
}