#include <bits/stdc++.h>
#include <string>
using namespace std;

int main()
{
    string str[9];
    int am[9];
    int pm[9];

    for (int i = 0; i < 9; i++){
        cin >> str[i];
        cin >> am[i];
        cin >> pm[i];
    }

    for (int i = 0; i < 9; i++){
        cout << str[i] << " " << am[i] + pm[i] << " " << (pm[i] * 300) + (am[i] * 200) << endl;
    }
    return (0);
}

