#include <vector>
#include <algorithm>
#include <string>
#include <map>
#include <set>
#include <queue>
#include <cstring>
#include <deque>
#include <cstdio>
#include <cmath>
#include <complex>
#include <iostream>
#include <iterator>

using namespace std;

#define reep(i,f,t) for(int i=f ; i<int(t) ; ++i)
#define rep(i,n) reep(i, 0, n) 

typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int,int> pii;

int main()
{
	rep(i, 9){
		char name[16];
		int am, pm;
		scanf("%s%d%d\n", name, &am, &pm);
		printf("%s %d %d\n", name, am+pm, 200*am + 300*pm);
	}
	return 0;
}