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

int main() {
    string s; int a, b;
    while (cin >> s >> a >> b) {
        cout << s << " " << a + b << " " << a * 200 + b * 300 << endl;
    }
    return 0;
}