// class

#include <iostream>
#include <string>
using namespace std;

static const int MAX_N = 9;
static const int AM_V = 200;
static const int PM_V = 300;

struct DATA {
	int cnt;
	int value;
	string name;
};

class CLS {
private:
	DATA data;

public:
	CLS();
	void set(int in_cnt, int in_value, string set_str);
	DATA get();
};

CLS::CLS()
{

	this->data.cnt   = 0;
	this->data.value = 0;
	this->data.name  = "no name";

};

void CLS::set(const int in_cnt, const int in_value, const string set_str)
{

	this->data.cnt   = in_cnt;
	this->data.value = in_value;
	this->data.name  = set_str;

}

DATA CLS::get()
{

	return this->data;

}

int main()
{

	int am_c, pm_c;
	string n_str;
	CLS cls[MAX_N];
	
	for(int i = 0; i < MAX_N; i++) {
		cin >> n_str >> am_c >> pm_c;
		cls[i].set(am_c + pm_c, am_c * AM_V + pm_c * PM_V, n_str);
	}

	for(int i = 0; i < MAX_N; i++) {
		cout << cls[i].get().name << " " << cls[i].get().cnt << " " << cls[i].get().value << endl;
	}

	return 0;

}