#include<iostream>
#include<string>
using namespace std;
int main() {
	string a;
	int b, c;
	for (int i = 0; i < 9; i++) {
		cin >> a >> b >> c;
		int sum = (200 * b + 300 * c), man = b + c;
		cout << a << " " << man <<" "<< sum << endl;
	}
}