#include <bits/stdc++.h>

using namespace std;


const int MorningPrice = 200;
const int AfternoonPrice = 300;

int main() {
	int a, b;
	string name;

	for (int i = 0; i < 9; i++) {
		cin >> name >> a >> b;
		cout << name << " " << a + b << " " << MorningPrice*a + AfternoonPrice*b << endl;
	}

	return 0;
}
