#include <iostream>
using namespace std;
int main(void){
  string str;
  int a,b;
  int sum,src;
  for(int i=0;i<9;i++){
    cin>>str>>a>>b;
    sum=a+b;
    src=200*a+300*b;
    cout<<str<<" "<<sum<<" "<<src<<endl;
  }
  return 0;
}