#include <iostream>
#include <string>
using namespace std;

int main() {
  string s;
  int n,m;
  while(cin >> s >> n >> m) {
    cout << s << " " << n+m << " " << n*200+m*300 << endl;
  }
  return 0;
}
