#include <iostream>
#include <string>
using namespace std;
int main(void){
	for(int i=0; i<9; i++){
		string team;
		int am, pm;
		cin >> team >> am >> pm;
		cout << team;
		printf(" %d %d\n",am+pm, am*200 + pm*300);
	}
	return 0;
}