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

#define REP(i, x, n) for(int i = x; i < n; i++)
#define rep(i,n) REP(i,0,n)
#define all(x)   (x).begin(),(x).end()
#define pb push_back
#define fr first
#define sc second
#define pf printf
#define sf scanf

typedef vector<int> vi;
typedef vector<long long> vl;
typedef vector<double> vd;
typedef pair<int,int> pii;
typedef pair<long,long> pll;
typedef long long ll;

const int INF = (1<<25);
const int dx[]={1,0,-1,0},dy[]={0,-1,0,1};

int main(){

  char class_name[9][16];
  int before[9];
  int after[9];
  rep(i,9){
    cin>> class_name[i]>> before[i]>> after[i];
  }
  rep(i,9){
    pf("%s %d %d\n",class_name[i],before[i]+after[i],before[i]*200+after[i]*300);
  }
}