#include <iostream>
using namespace std;

int main() {
    for (int j = 0; j < 9; ++j) {
        string className;
        int am, pm;
        cin >> className >> am >> pm;
        cout << className << ' ' << (am+pm) << ' ' << (200*am + 300*pm) << endl;
    }
    return 0;
}