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