#include <cstdio>
#include <iostream>
#include <string>
using namespace std;

int main(){
  int i,am[9],pm[9];
  string name[9];
  for(i=0;i<9;i++){
    cin >> name[i] >> am[i] >> pm[i];
  }

  for(i=0;i<9;i++){
    cout << name[i] << ' '<< am[i] + pm[i] << ' '<< am[i] * 200 + pm[i] * 300 << endl;
  }

  return 0;
}