#include <iostream>
#include <string>
#include <sstream>
#include <cstdio>

using namespace std;

int main(void){
	string str;
	while(getline(cin,str)){
		istringstream iss(str);
		string n;
		int a,p;
		iss >> n >> a >> p;
		printf("%s %d %d\n",n.c_str(),a+p,200*a+300*p);
	}
}