#include <iostream>
#include <string>
using namespace std;
int main(void){
#define MAX 500
    int a[MAX], b[MAX]; //午前と午後の入場者数
    string name[9]; //クラス名

    for(int i = 0; i < 9; i++){
        cin >> name[i] >> a[i] >> b[i];
    }

    long int earnings[9]; //料金収入
    int sum_ab[9]; //入場者数の総和

    for(int 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;
    }
}
