#include <vector>
#include <algorithm>
#include <iostream>
#include <functional>
#include <string>

using namespace std;

vector<string> classes;
vector<string>::iterator classI;

int main() {
        int noon[9] = {0}, after[9] = {0};
        classes.clear();
        string classtemp;
        
        
        for(int i = 0; i < 9; i++) {
        cin >> classtemp;
        
        cin >> noon[i] >> after[i];
        classes.push_back(classtemp);
        }
        
        for(int i = 0; i < 9; i++) {
            noon[i] *= 200;
            after[i] *= 300;
        }
        int i = 0;
        
        for (classI = classes.begin(); classI != classes.end(); classI++) {
            cout << *classI << " " << noon[i] << " " << after[i] << endl;
        }
    return 0;
}