#include<stdio.h>
#include<iostream>
#include<string>
using namespace std;

int main(){

string st;
int x,y,z=0;

for(int i=0;i<9;i++)
{
cin>>st;
cin>>x>>y;
z=x*200+y*300;
x=x+y;

cout<<st<<" "<<x<<" "<<z<<endl;
}
return 0;
}