import std.stdio, std.range, std.conv, std.array, std.algorithm, std.range, std.string;

void main() {
	string[] result;
	writeln("Hello, world");
	return;
	while (true) {
		auto n = readln.chomp.to!int;
		if (n == 0) break;
		ulong[uint] datas;
		foreach (i; 0..n) {
			auto tmp = readln.split.map!(to!int).array;
			auto p = tmp[0] in datas;
			if (p) {
				datas[tmp[0]] += tmp[1] * tmp[2];
			} else {
				datas[tmp[0]] = tmp[1] * tmp[2];
			}
		}
		uint[] res;
		foreach (k, v; datas) {
			if (v >= 1_000_000) {
				res ~= k;
			}
		}
		res.sort;
		if (res.length == 0) result ~= "NA"; 
		else {
			foreach (d; res) result ~= d.to!string; 
		}
	}
	foreach (r; result) r.writeln;
}