#include<iostream>
#include<string>

using namespace std;

struct CLASS{
  string s;
  int number;
  int sum;
};

int main(){
  int i, n, m;
  string str;
  CLASS data[9];

  for(i=0; i<9; ++i){
    cin >> str >> n >> m;
    data[i].s = str;
    data[i].number = n + m;
    data[i].sum = 200*n + 300*m;
  }

  for(i=0; i<9; ++i)
    cout << data[i].s << " " << data[i].number << " " << data[i].sum << endl;

  return 0;
}