
#include <iostream>
#include<string>
#include<cstdio>
#include<cmath>
#include<algorithm>
#include<vector>
using namespace std;
int main(){
    string str[9];
    int a[9],b[9],i,ab[9];
    long long sum[9];
    for(i=0;i<9;i++){
        cin>>str[i]>>a[i]>>b[i];
    }
    for(i=0;i<9;i++){
        ab[i]=a[i]+b[i];
        sum[i]=a[i]*200+b[i]*300;
    }
    for(i=0;i<9;i++){
        cout<<str[i]<<" "<<ab[i]<<" "<<sum[i]<<endl;
    }
    return 0;
}