
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <string>
#include <math.h>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <sstream>
#include <iomanip>
#include <stdlib.h>

using namespace std;

int main(void)
{
	string n[100];
	int a[100], b[100];

	for (int i = 0; i < 9; i++)
	{
		cin >> n[i] >> a[i] >> b[i];
	}

	for (int i = 0; i < 9; i++)
	{
		cout << n[i] << " " << a[i] + b[i] << " " << (a[i] * 200) + (b[i] * 300) << endl;;
	}
}


