#include <iostream>
using namespace std;

int main(void)
{
	char name[20];
	int bef,aft;

	for(int i = 1; i <= 9; i++){
		cin >> name >> bef >> aft;
		cout << name << ' ' << bef+aft << ' ' << bef*200+aft*300 << endl;
	}

	return 0;
}