#include<iostream>
#include<string>
using namespace std;

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