#include <iostream>
#include <string>
using namespace std;


int total(int a, int b){
	int c = a + b;
	return c;
}

int times(int a, int b){
	int c = a * 200 + b * 300;
	return c;
}


int main(){
	int a[9];
	int b[9];
	int c[9];
	int d[9];
	string name[9];
	for (int i = 0; i < 9; i++){
		cin >> name[i];
		cin >> a[i];
		cin >> b[i];
	}
	for (int i = 0; i < 9; i++){
		c[i] = total(a[i], b[i]);
		d[i] = times(a[i], b[i]);
	}
	for (int i = 0; i < 9; i++){
		cout << name[i] << " " << c[i] << " " << d[i] << endl;
	}
	return 0;
}
