#include <iostream>
using namespace std;

int main() {
  string str;
  int am,pm;
  for(int i=0;i<9;i++) {
    cin >> str >> am >> pm;
    cout << str << " " << am+pm << " " << am * 200 + pm * 300 << endl;
  }
}