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

int main(void){
	string name[9];
	int a[9]={0},b[9]={0};

	for(int i=0;i<9;++i) cin >> name[i] >> a[i] >> b[i];
	for(int i=0;i<9;++i){
		int man=a[i]+b[i], price=(a[i]*200)+(b[i]*300);
		a[i] = man;
		b[i] = price;
	}

	for(int i=0;i<9;++i) cout << name[i] << " " << a[i] << " " << b[i] << endl;
}
