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