#include <iostream>
#include <string>
#define CLASS_NUM 9
using namespace std;


int main() {
  for(int i = 0; i < CLASS_NUM; i++) {
    string str;
    int num1, num2;
    cin >> str >> num1 >> num2;
    cout << str << ' ' << num1+num2 << ' ' << num1*200+num2*300 << endl;
  }
  return 0;
}