unittest
{
	assert( [ "3" ].solve == "ACLACLACL" );
}



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

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

auto solve( Range )( Range input )
if( isInputRange!Range && is( ElementType!Range == string ) )
{
	auto k = input.front.to!( long );
	
	return "ACL".repeat( k ).join;
}
