#include<iostream>
#include<string>
#include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
int main(void){

	int a,b;
	string c;
	for(int i=0;i<9;i++){
        cin>>c>>a>>b;
        cout<<c<<" "<<a+b<<" "<<a*200+b*300<<endl;
	}


	return 0;
}