#include<iostream>
#include<string>
using namespace std;
int main(void)
{
    string name;
    int am,pm;
    while(1){
        cin>>name>>am>>pm;
        cout<<name<<" "<<am+pm<<" "<<am*200+pm*300<<"\n";
    }
}