#include <iostream>
#include <string>

using namespace std;

int main(){
	int ary_morning[10] , ary_after[20];
	int sum[10] , ans[10];
	string str[10];

	for(int i = 0; i < 9; i++){
		cin >> str[i] >> ary_morning[i] >> ary_after[i];
		sum[i] = ary_morning[i] + ary_after[i];
		ans[i] = (ary_morning[i] * 200) + (ary_after[i] * 300); 
	}for(int i = 0; i < 9; i++){
		cout << str[i] << " " << sum[i] << " " << ans[i] << endl;
	}

	return 0;
}