#include <iostream>
using namespace std;

struct Classroom {
    char name[16];
    int visitor;
    int income;
};

int main() {
    Classroom classroom[9];
    for (int i = 0; i < 9; i++) {
        int am, pm;
        cin >> classroom[i].name >> am >> pm;
        classroom[i].visitor = am + pm;
        classroom[i].income = am * 200 + pm * 300;
    }
    for (int i = 0; i < 9; i++) {
        cout << classroom[i].name << " " << classroom[i].visitor << " " << classroom[i].income << endl;
    }
}