#include<iostream>
#include<string>
using namespace std;

int main(){
  string classes[1111];
  int mo,af;
  int to[1111],money[1111];
  for(int i=0;i<9;i++){
    cin >> classes[i];
    cin >> mo >> af;
    to[i] = mo + af;
    money[i] = mo*200 + af*300;
  }
  for(int i=0;i<9;i++){
    cout << classes[i] << " " << to[i] << " " << money[i] << endl;;
  }
}