#include <iostream>
#include <cstdio>

int main(){
	std::string name, ns[9];
	int am, pm, i=0, p[9] = {0}, pf[9] = {0};
	//input
	for(;i<9;i++){
		std::cin >> name >> am >> pm;
		ns[i] = name;
		p[i] = am + pm;
		pf[i] = am * 200 + pm * 300;
	}

	//output
	i = 0;
	for(;i<9;i++){
		std::cout << ns[i] << " " << p[i] << " " << pf[i] << std::endl;
	}
}