fun main() {
    val k = readLine()!!.toInt()

    println("ACL".repeat(k))
}

private fun readInts() = readLine()!!.split(" ").map { it.toInt() }
private fun readLongs() = readLine()!!.split(" ").map { it.toInt() }