#include<iostream>
#include<string>
using namespace std;
int main() {
	string name[10];
	int a, b, c[10], d[10];
	for (int i = 1; i <= 9; i++) {
		cin >> name[i] >> a >> b;
		c[i] = a + b;
		d[i] = a * 200 + b * 300;
	}
	for (int i = 1; i <= 9; i++) {
		cout << name[i] << " " << c[i] << " " << d[i] << endl;
	}
}
