#include <bits/stdc++.h>
using namespace std;

#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define REP(i,n) FOR(i,0,n)

int main() {
	REP(i, 9) {
		string name;
		int num = 0, total = 0;
		int in;
		cin >> name;
		cin >> in;
		num += in; total += 200 * in;
		cin >> in;
		num += in; total += 300 * in;
		
		cout << name << " " << num << " " << total << endl;
	}
	
	return 0;
}