#include<iostream>
#include<string>
#include<algorithm>	
#include<cmath>
#include<map>
#include<vector>
#define int long long
using namespace std;
int test[51];
signed main() {
    int n, a, b; string s;
    for (int h = 0; h < 9; h++) {
        cin >> s >> n >> a;
        cout << s << ' ' << n + a << ' ' << 200 * n + 300 * a << endl;
    }
}
