program main
    use,intrinsic :: iso_fortran_env
    implicit none
    integer(int32):: k,i
    character(3):: c="ACL"

    read*, k
    do i=1,k
        write(*,"(a)",advance="no") c
    end do
    print*, ""
end program main