#include <iostream>
#include <queue>
#include <map>
#include <algorithm>
using namespace std;

int main(){
	string a;
	int b,c;
	while(cin >> a >> b >> c){
		cout << a << " " << b+c << " " << b * 200 + c * 300 << endl;
	}
}