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