function Main(input) {
  input = input.split("\n").map(v => v.split(" "));
  input = parseInt(input[0][0], 10);
  const str = "ACL";
  let res = "";
  
  for (let i = 0; i < input; i++) {
    res += str;
  }
  console.log(res);
}
// 魔法
Main(require("fs").readFileSync("/dev/stdin", "utf8"));