#include <iostream>
using namespace std;

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