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

int main() {
	
	int a[18];
	string c;
	
	int x,hito,kane;
	hito=0;
	kane=0;
	
	for(int i=0;i<18;i=i+2){
		cin >> c ;
		cin >> a[i] >> a[i+1] ;
		hito=a[i]+a[i+1];
		kane=a[i]*200+a[i+1]*300;
		
		
		cout << c << " " << hito << " " << kane << endl;
		x=x+1;
	}
	
	return 0;
}