
import kotlin.math.*
import java.io.BufferedReader
import java.io.InputStreamReader
import java.util.*


private var fs = BufferedReader(InputStreamReader(System.`in`))
private fun readLn() = fs.readLine()!!
private fun readStrings() = readLn().split(" ")
private fun readLong() = readLn().toLong()
private fun readLongs() = readStrings().map { it.toLong() }
private fun readInt() = readLn().toInt()
private fun readInts() = readStrings().map { it.toInt() }
fun main() {
//    val t = readInt()
//    for (tt in 0 until t) {
        solveA()
//    }
}
fun solveA() {
    var K = readInt()
    var ans = ""
    for(i in 0 until K){
        ans += "ACL"
    }
    println(ans)
}

