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