#include <iostream>
#include <string>
#include <algorithm>
#include <functional>
#include <vector>
#include <utility>
#include <cstring>
#include <iomanip>
#include <numeric>
#include <limits>
#include <cmath>
#include <cassert>
#include <map>

using namespace std;
using ll = long long;

const int INF = 1<<30;
const int MOD = (int)1e9 + 7;
const int MAX_N = (int)1e5 + 5;
#define debug(x) cout << #x << ": " << x << endl

signed main(void)
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    vector<pair<string, pair<int, int>>> v;
    string name; int a, b;
    while(cin >> name >> a >> b)
    {
        v.push_back(make_pair(name, make_pair(a + b, a * 200 + b * 300)));
    }
    for(auto &&x : v)
    {
        cout << x.first << " " << x.second.first << " " << x.second.second << endl;
    }
    return 0;
}


