#include <iostream>
using namespace std;

int main()
{
  string cla;
  int n, m;

  for (int i = 0; i < 9; i++){
    cin >> cla >> n >> m;
    cout << cla << " " << n + m << " " << 200 * n + 300 * m << endl;
  }
}