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

int main() {
  string name;
  int a, b;
  for (int i=0; i<N; i++) {
    int am = 200, pm = 300;
    cin >> name >> a >> b;
    int num = a+b;
    int fee = a*am+b*pm;
    cout << name << " " << num << " " << fee << endl;
  }
  return 0;
}