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