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

#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) for (int i = 0; i < (n); i++)

int main()
{
  string cls;
  int a, b;

  REP(i, 9){
    cin >> cls >> a >> b;
    cout << cls << " " << a + b << " " << a * 200 + b * 300 << endl;
  }
}