unittest
{
	assert( [ "3200", "pink" ].parse.expand.solve == "pink" );
	assert( [ "3199", "pink" ].parse.expand.solve == "red" );
	assert( [ "4049", "red" ].parse.expand.solve == "red" );
}



import std.conv;
import std.range;
import std.stdio;
import std.typecons;

void main()
{
	stdin.byLineCopy.parse.expand.solve.writeln;
}

auto parse( Range )( Range input )
if( isInputRange!Range && is( ElementType!Range == string ) )
{
	auto a = input.front.to!( long );
	input.popFront;
	auto s = input.front;
	return tuple( a, s );
}

auto solve( long a, string s )
{
	return ( 3200 <= a ) ? s : "red";
}
