#include <iostream>
#include <string>
#include <vector>
#include <algorithm>

#define REP(i,k,n) for(int i=k;i<n;i++)
#define rep(i,n) for(int i=0;i<n;i++)

using namespace std;

typedef long long ll;

int main()
{
	vector<string> s;
	vector<pair<int,int> > v;

	rep(i,9)
	{
		string temp;
		int a,b;
		cin >> temp >> a >> b;

		s.push_back(temp);
		v.push_back(make_pair(a,b));
	}

	rep(i,9)
	{
		cout << s[i] << " " << v[i].first + v[i].second << " " << v[i].first*200 + v[i].second*300 << endl;
	}

	
	return 0;
}