#include<stdio.h>
int main(void)
{
	char a;
	int s,z,i,f,g;
		while(scanf("%c %d %d",&a,&s,&z)!=EOF){
			f=s+z;
			g=(s*200)+(z*300);
			printf("%c %d %d\n",a,f,g);
			s=0;
			z=0;
			f=0;
			g=0;
		}
	return 0;
}