#include <iostream>

using namespace std;

int main() {
    string s;
    for(int i=0;i<9;i++){
        int am=0,pm=0;
        cin>>s;
        cin>>am>>pm;
        cout<<s<<" "<<am+pm<<" "<<am*200+pm*300<<endl;;
    }
	return 0;
}