#include<vector>
#include<list>
#include<algorithm>
#include<iostream>
#include<string>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
using namespace std;
int main(){
  int a,b;
  string s;
  for(;;){
    s="";
    cin>>s;
    if(s.empty())
      break;
    cin>>a>>b;
    cout<<s<<" "<<a+b<<" "<<a*200+b*300<<endl;
  }
  return 0;
}