#include<iostream>
#include<string>
using namespace std;
#include<stdlib.h>


main(){
  string cla[10][3];//for input// class name: am in:  pm in
  int data[10][2];//for output // sum(people) :sum(income)
  int i;
  int data2[10][2];
  i=0;
  while(cin >> cla[i][0] >> data[i][0]>> data[i][1]){
      i++;
     
      /* //Ã£ÂÂÃ£ÂÂÃ£ÂÂÃ£ÂÂ¯Ã§ÂÂ¨
      cout << cla[i-1][0]<< " "<< cla[i-1][1]<<" "<< cla[i-1][2]<<endl;//Ã¤Â¸ÂÃ£ÂÂ§Ã¨Â¶Â³Ã£ÂÂÃ£ÂÂ¦Ã£ÂÂÃ£ÂÂ®Ã£ÂÂ§Ã¯Â¼ÂÃ¥Â¼ÂÃ£ÂÂ
      */

      
      //data[i-1][1] = atoi(cla[i-1][1])*200 + atoi(cla[i-1][2])*300;
      data2[i-1][0] = data[i-1][0] + data[i-1][1];
      data2[i-1][1] = data[i-1][0]*200 + data[i-1][1]*300;
      
      //cout << cla[i-1][0] << " " << data[i-1][0]<<" " << data[i-1][1]<<endl;
      

    }

  i--;
  for(int j=0;j<9;j++){

    cout << cla[j][0] << " "<< data2[j][0] << " "<< data2[j][1]<< endl;

  }

  return 0;
}