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