Problem:
Score : 100 points

Problem Statement

You are given an integer K.
Print the string obtained by repeating the string ACL K times and concatenating them.

For example, if K = 3, print ACLACLACL.

Constraints

1 \leq K \leq 5

All values in input are integers.

Input

Input is given from Standard Input in the following format:

K

Output

Print the string obtained by repeating the string ACL K times and concatenating them.

Sample Input 1

3

Sample Output 1

ACLACLACL

Solution in Rust (1.42.0) (judge verdict: Accepted)

use std::io::stdin;

fn main() {
    let mut k = String::new();
    stdin().read_line(&mut k).unwrap();
    let k: u32 = k.trim().parse().unwrap();

    let acl = String::from("ACL");   

    println!(
        "{}", 
        (0..k).collect::<Vec<u32>>().into_iter().map(|_ :u32| {
            acl.clone()
        }).collect::<Vec<String>>().join("")
    );
}