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

int main() {
	int a[9],b[9],d,e;
	string c[9];
	for(int i=0;i<9;i++){
		cin>>c[i]>>a[i]>>b[i];
	}
	for(int i=0;i<9;i++){
		d=a[i]+b[i];
		e=a[i]*200+b[i]*300;
		cout<<c[i]<<" "<<d<<" "<<e<<endl;
	}
	// your code goes here
	return 0;
}