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