#include<bits/stdc++.h>
using namespace std;
int main(void)
{
	int i,j,k,n,s1,s2;
	char name[3];
	for(i=0;i<9;i++) {
		cin>>name>>s1>>s2;
		cout<<name<<" "<<s1+s2<<" "<<(s1*200)+(s2*300)<<endl;
	}
	return 0;
}