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