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

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