#include<iostream>
#include<string.h>
#include<algorithm>
#include<stdio.h>
using namespace std;
int main(){
    int i,j,a[9],b[9];
    string name[9];
    for(i=0;i<9;i++){
        cin>>name[i]>>a[i]>>b[i];
        cout<<name[i]<<" "<<a[i]+b[i]<<" "<<a[i]*200+b[i]*300<<endl;
    }
    return 0;
}