#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

int main() {
    vector<string> name(9);
    vector<int> a(9);
    vector<int> b(9);
    
    rep(i, 9) {
        int tmpa, tmpb;
        cin >> name.at(i) >> tmpa >> tmpb;
        a.at(i) = tmpa + tmpb;
        b.at(i) = tmpa * 200 + tmpb * 300;
    }
    rep(i, 9) {
        cout << name.at(i) << " " << a.at(i) << " " << b.at(i) << endl;
    }
}
