#include <iostream>
#include <string>
using namespace std;
int main(void){
    int a[500], b[500];
    string name[9];
    int i;
 
    for(i = 0; i < 9; i++){
        cin >> name[i] >> a[i] >> b[i];
    }
 
    long int earnings[9];
    int sum_ab[9];
 
    for(i = 0; i < 9; i++){
        sum_ab[i] = a[i] + b[i];
        earnings[i] = 200 * a[i] + 300 * b[i];
 
        cout << name[i] << " " << sum_ab[i] << " " << earnings[i] << endl;
    }
}
