#include<iostream>
#include<string>

int main(){

	for (int i = 0; i<9; i++){
		std::string name;
		int a, b;
		std::cin >> name >> a >> b;
		std::cout << name << " " << a + b << " " << a * 200 + b * 300 << std::endl;

	}

	return 0;
}