#include <iostream>
#include <cstdio>
#include <algorithm>
#include <map>
#include <vector>

using namespace std;

int main(){
	
	string str[10];
	int num1[10], num2[10];
	
	for(int i = 0; i < 9; i++){
		cin >> str[i] >> num1[i] >> num2[i];
	}
	
	
	for(int i = 0; i < 9; i++){
		cout << str[i] << " " << num1[i] + num2[i] << " " << num1[i] * 200 + num2[i] * 300 << endl;
	}
	
	return 0;
}