program main
	implicit none
	integer(8):: X,Y,A,B,C,N,i,j,t,k,D,E
	read *, X
	
   	if(x==1)then
   	print'(a)',"ACL"
	else if(x==2)then
  	print'(a)',"ACLACL"
	else if(x==3)then
  	print'(a)',"ACLACLACL"
	else if(x==4)then
  	print'(a)',"ACLACLACLACL"
	else if(x==5)then
  	print'(a)',"ACLACLACLACLACL"
    end if
	
end program main