#include <iostream>
#include <string>
using namespace std;
int main(void){
    string a;
    int b,c;
    
    for (int i=0;i<9;i++){
        cin >> a>>b>>c;

        cout <<a<<" "<<b+c<<" "<<200*b+300*c<<endl;
    }
      
}

