#include <iostream>
#include <string>
using namespace std;
 
int main(){
        int gozen,gogo,people,yen,x,y;
        string c;
        for(int i=0;i<9;i++){
                cin>>c>>gozen>>gogo;
                people=gozen+gogo;
                x=gozen*200;
                y=gogo*300;
                yen=x+y;
                cout<<c<<' '<<people<<' '<<yen<<endl;
        }
        return 0;
}