#include <iostream>
using namespace std;

int main()
{
  string cl[9];
  int res[9], num[9];
  int n, m;
  for (int i = 0; i < 9; i++){
    cin >> cl[i] >> n >> m;
    num[i] = n + m;
    res[i] = n * 200 + m * 300;
  }

  for (int i = 0; i < 9; i++){
    cout << cl[i] << ' ' << num[i] << ' ' << res[i] << endl;
  }
  return (0);
}