#include<iostream>
#include<string>
using namespace std;
struct HauntedHouse{
  int beforenoon;
  int afternoon;
  string name;
  int getTotalCustmor(){
    return beforenoon + afternoon;
  }
  int getAward(){
    return beforenoon * 200 + afternoon * 300;
  }
};
int main(){
  HauntedHouse hh[9];
  for(int i = 0; i < 9; ++i){
    cin >> hh[i].name >> hh[i].beforenoon >> hh[i].afternoon;
  }
  for(int i = 0; i < 9; ++i){
    cout << hh[i].name << ' ' <<
      hh[i].getTotalCustmor() << ' ' <<
      hh[i].getAward() << endl;
  }
  return 0;
}