#include <stdio.h>
#include <iostream>
#include <string>

using namespace std;

int main() {
	string a;
	int k1,k2;
	int wa1,wa2;

	for (int i = 0; i < 9; i++) {
		cin >> a >> k1 >> k2;
		wa1 = k1 + k2;
		wa2 = k1 * 200 + k2 * 300;
		cout << a << " " << wa1 << " " << wa2 << endl;
	}
	return 0;
}