#include <iostream>

using namespace std;

int main()
{
    const int morning = 200;
    const int afternoon = 300;
    string str;
    int m, a;

    while (cin >> str >> m >> a) 
        cout << str << " " << m + a << " "
             << m * morning + a * afternoon << endl;

    return 0;
}