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