#include <iostream>
#include <string>

int main() {
  std::string s;
  int a, b;

  for (int i = 0; i < 9; ++i) {
    std::cin >> s >> a >> b;
    std::cout << s << " " << a + b << " " << a * 200 + b * 300 << std::endl;
  }

  return 0;
}

