let lines = [];
let reader = require('readline').createInterface({
    input: process.stdin,
    output: process.stdout
});

// 標準入力の読み込み
reader.on('line', function(line) {
    lines.push(line);
});

reader.on('close', function() {
    // 処理の記述
    const n = lines[0];

    let result = '';
    for (let i = 0; i < n; i++) {
        result += 'ACL';
    }


    // 表示
    console.log(result);
});