#define	_USE_MATH_DEFINES
#include <iostream>
#include <algorithm>
#include <functional>
#include <vector>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cfloat>
#include <map>
#include <queue>
#include <stack>
#include <list>
#include <string>
#include <set>
using namespace std;
int main(){
	
	string c[9];
	int	 p[9];
	int  s[9];
	
	for(int i=0;i<9;i++){
		int a,b;
		cin>>c[i];
		
		cin>>a>>b;
		
		p[i]=a+b;
		
		s[i]=200*a+300*b;
		
	}
	
	for(int i=0;i<9;i++)
		cout<<c[i]<<" "<<p[i]<<" "<<s[i]<<endl;
	
	
	
}