#include <cstdio>
#include <iostream>

using namespace std;

int main(){

char s[17];

int a,b;

	for (int i = 0;i < 9;i++){
	
		cin >> s >> a >> b;
		
		cout << s << " ";
		
		cout << a + b << " ";
		
		cout << a * 200 + b * 300 << endl;
		
	}
	
return 0;

}
	
