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

int main() {
  string s;
  int a, b;
  ostringstream os;
  for (int i = 0; i < 9; i++) {
    cin >> s >> a >> b;
    os << s << " " << a + b << " " << a * 200 + b * 300 << "\n";
  }
  cout << os.str();
}
