// #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <stack>
#include <cmath>
#include <cstdlib>
#include <functional>
#include <locale>
#include <cctype>
#include <sstream>	// istringstream
using namespace std;

#define GOZEN 200
#define GOGO 300

int main(){
	string className;
	int gozenIn = 0, gogoIn = 0;

	while (cin >> className >> gozenIn >> gogoIn){
		cout << className << " " << (gozenIn + gogoIn) << " " << (gozenIn*GOZEN + gogoIn*GOGO) << endl;
	}
	return 0;
}