function spilitInput(input, to_int) {
  if (typeof to_int === 'undefined') to_int = false;
  var splited = [];
  var rows = input.split('\n');
  for (var i = 0; i < rows.length; i += 1) {
    if (to_int) {
      splited.push(rows[i].split(' ').map(function(d){return parseInt(d,10);}));
    } else {
      splited.push(rows[i].split(' '));
    }
  }
  return splited;
}

function Main(input) {
  var splited = spilitInput(input, true);
  var k = splited[0][0];
  var word = '';
  for (var i = 0; i < parseInt(k, 10); i += 1) {
    word += 'ACL';
  }
  console.log(word);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));