#include "bits/stdc++.h"
#define rep(i,a,n) for(int (i) = (a);(i) < (n);(i)++)
using namespace std;

int main(){
    int a,b;
    string s;
    
    rep(i,0,9){
        cin >> s >> a >> b;
        cout << s << " " << a+b << " " << a*200+b*300 << endl;
    }
    return 0;
}
