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

int main(){
	int x,y;
	const int am = 200;
	const int pm = 300;
	string str;
	for(int i=0;i<9;i++){
		cin >> str >> x >> y;
		cout << str << " " << x+y << " " << x*am+y*pm << endl;
	}
	return 0;
}