#include <iostream>
#include <string>
using namespace std;
int main(void){
    
    string team;
    int a, b;
    
    for(int i = 0; i < 9; i++){
        cin >> team >> a >> b;
        cout << team << " " << a + b << " " << 200 * a + 300 * b << endl;
    }
}
