#include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
#include<vector>
#define INF 999999
using namespace std;
int main(){
    char clase[20];
    int am,pm;
    while(scanf("%s%d%d",clase,&am,&pm)!=EOF)cout<<clase<<" "<<am+pm<<" "<<am*200+pm*300<<endl;
    return 0;
}