#include<iostream>
using namespace std;

char s[9][17];
int a,b,sumx[9],sump[9];

int main(){
	int i;
	for( i = 0;i < 9;i++ ){
		cin >> s[i] >> a >> b;
		sumx[i] = a+b;
		sump[i] = a*200+b*300;
	}
	for( i = 0;i < 9;i++ ){
		cout << s[i] << " " << sumx[i] << " " << sump[i] << endl;
	}
	return 0;
}