#include<iostream>
#include<string>
using namespace std;
int main(){
  int bell,hess,aizu,money=0;
  string s;
  for(int i=0;i<9;i++){
    cin >> s >> bell >> hess;
    money+=bell*200;
    money+=hess*300;
    aizu=bell+hess;
    cout << s << " " << aizu << " " << money << endl;
    money=0;
  }
}