#include <iostream>
using namespace std;

int main() {

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

	return 0;
}