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

int main() {
  for(int i = 0; i < 9; ++i) {
    string name;
    int s, t;
    cin >> name >> s >> t;
    cout << name << " " << s + t << " " << s * 200 + t * 300 << endl;
  }
  return 0;
}