#include<iostream>
#include<string>
#define loop(i,a,b) for(int i=a;i<b;i++)
#define rep(i,a) loop(i,0,a)
using namespace std;
int main(){
  rep(i,9){
    string s;
    int in,a,b;
	cin>>s>>a>>b;
	in=a*200+b*300;
	a+=b;
	cout<<s<<" "<<a<<" "<<in<<endl;
  }
}
  