#include<iostream>
using namespace std;
#define loop(i,a,b) for(int i=a;i<b;i++)
#define rep(i,a) loop(i,0,a)
int main(){
	int am,pm;
	char name[15];
	rep(i,9){
		cin>>name>>am>>pm;
		cout<<name<<" "<<am+pm<<" "<<am*200+pm*300<<endl;
	}
}