#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;

int main() {
    string name[9];
    int c[9], d[9];
    for (int i = 0, a, b; i < 9; i++) {
        cin >> name[i] >> a >> b;
        c[i] = a + b;
        d[i] = 200 * a + 300 * b;
    }
    for (int i = 0; i < 9; i++) {
        cout << name[i] << ' ' << c[i] << ' ' << d[i] << endl;
    }
}
