#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
struct visitor{
	string str;
	int morning;
	int afternoon;
	long price;
};

int main(){
	struct visitor v[9];
	for(int i=0;i<9;i++){
		cin>>v[i].str>>v[i].morning>>v[i].afternoon;
		v[i].price = v[i].morning*200+v[i].afternoon*300;
	}
	for(int i=0;i<9;i++){
		cout<<v[i].str<<" "<<v[i].morning+v[i].afternoon<<" "<<v[i].price<<endl;
	}

	return 0;
}