#include<cstdio>
#include<cstring>
#include<algorithm>
#include<functional>
using namespace std;
int main(void)
{
	int b,a,sum[10],p[10],i,x;
	char ss[10][16];
	i=0;
	while(scanf("%s %d %d",ss[i],&a,&b)!=EOF){
		sum[i]=a*200+b*300;
		p[i]=a+b;
//		printf("%s %d %d\n",ss[i],p,sum);
		i++;
	}
	x=i-1;
	for(i=0;i<x;i++) printf("%s %d %d\n",ss[i],p[i],sum[i]);
	return 0;
}