import java.util.*

fun main() {
    val sc = Scanner(System.`in`)
    val n = sc.nextInt()

    println(calc(n))
}

fun calc(n: Int): String {
    return (1..n).map { "ACL" }.joinToString(separator = "")
}
