#include<iostream>
#include<math.h>
#include<vector>
#include<algorithm>
#include<cstdio>
#include <string>
#include <complex>
#include <functional>
using namespace std;
typedef pair<int,int> P;

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