#include <cstdio>
#include <cstring>
#include <algorithm>
#include <string>
#include <cmath>
#include <stack>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <list>
#include <iostream>
#include <sstream>
#include <climits>
#include <cfloat>
#include <complex>

using namespace std;

int main()
{
	char buf[32];
	int am, pm;
	while (scanf(" %s %d %d", buf, &am, &pm) != EOF)
		printf("%s %d %d\n", buf, am+pm, 200*am+300*pm);

	return 0;
}