#include<iostream>
#include<string>

int main()
{
	for( int i = 0; i != 9; ++i )
	{
		std::string s;
		int a, b;
		std::cin >> s >> a >> b;
		std::cout << s << ' ' << a + b << ' ' << a * 200 + b * 300 << std::endl;
	}

	return 0;
}