#include <iostream>
#include <string>
using namespace std;

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