import std.stdio;
import std.conv;
import std.string;
import std.typecons;
import std.algorithm;
import std.array;
import std.range;
import std.math;
import std.regex : regex;
import std.container;

void main()
{
	foreach (line; stdin.byLine) {
		auto x = line.split;
		long cost, sum;
		cost += x[1].to!long * 200 + x[2].to!long * 300;
		sum = x[1].to!long + x[2].to!long;
		writeln(x[0], " ", sum, " ", cost);
	}
}