#include <bits/stdc++.h>
using namespace std;

typedef struct{
    string name;
    int Anum;
    int Pnum;
}DATA;

int main(void){
    std::ios_base::sync_with_stdio();

    DATA dt[10];

    for(int i=0;i<9;i++){
        cin>>dt[i].name>>dt[i].Anum>>dt[i].Pnum;
    }
    for(int i=0;i<9;i++){
        cout<<dt[i].name<<" ";
        cout<<dt[i].Anum+dt[i].Pnum<<" ";
        cout<<dt[i].Anum*200+dt[i].Pnum*300<<endl;
    }
    return 0;
}