#include<bits/stdc++.h>
using namespace std;

int main(){
  string s;
  int x, y;
  for (int i = 0; i < 9; i++) {
    std::cin >> s >> x >> y;
    std::cout << s << " " << x + y << " " << 200*x + 300*y << std::endl;
  }
  return 0;
}