#include<iostream>
#include<string>
using namespace std;
int main(){
	string a[9];
	int b[9];
	int 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] * 200 << endl;
	}
	return 0;
}
