program r20926a
 
implicit none
character(len=15) :: a
integer :: n

read *, n

if(n==1) then
 print *, 'ACL'
else if(n==2) then
 print *, 'ACLACL'
else if(n==3) then
 print *, 'ACLACLACL'
else if(n==4) then
 print *, 'ACLACLACLACL'
else if(n==5) then
 print *, 'ACLACLACLACLACL'
end if

end program r20926a