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 Java (OpenJDK 11.0.6) (judge verdict: Accepted)

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
        int i = 0;
 
		String s = "ACL";
      if(a == 1){
       System.out.println(s);
      } else {
       String cats_tochu = "";
       String cats = "";
        for(i=1; i<a; i++){
           cats_tochu = cats_tochu + s;
	       cats = cats_tochu + s;
        }
	   System.out.println(cats);
      }
	}
}