#include <iostream>
#include <vector>
using namespace std;

class solver{
    string name;
    int am;
    int pm;
public:
    void put_name(string str){
        name = str;
    }
    string show_name(){
        return name;
    }
    void put_am(int n){
        am = n;
    }
    void put_pm(int n){
        pm = n;
    }
    int sum(){
        return am+pm;
    }
    int income(){
        return 200*am + 300*pm;
    }
    void print(){
        cout << name;
        cout << " ";
        printf("%d %d\n", sum(), income());
    }
};


int main(){
    vector<solver> a(9);
    string tmp;
    int n, m;

    for(int i=0; i<9; i++){
        cin >> tmp;
        a[i].put_name(tmp);
        cin >> n >> m;
        a[i].put_am(n);
        a[i].put_pm(m);
    }

    for(int i=0; i<9; i++){
        a[i].print();
    }

    return 0;
}