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