ABACABA - Print The Pattern

no tags 

1 : A

2 : ABA

3 : ABACABA

4 : ABACABADABACABA

N : ...

Input

The input file consists of a number N

Output

The output file should only contains the pattern without additional characters (without newline character)

Constraint

1 <= N <= 15

Example

Input:
4

Output:
ABACABADABACABA

hide comments
gorgeous_girl: 2018-12-09 15:21:54

in 3 : ABACABA , how to print ABA ?

nadstratosfer: 2018-03-05 13:58:03

My point is, what purpose does this condition serve? Most problems here use standard judge that ignores whitespaces unless they are used on purpose in the IO (eg. ciphers) and requiring solvers to take care of this seems an unnecessary confusion.

AVM: 2018-03-03 21:26:48

@nadstratosfer the output statement is clearly stated to print without additional characters

Last edit: 2018-03-03 21:28:57
nadstratosfer: 2018-03-03 09:37:49

Print no newline else WA. What's the purpose of this?


Added by:AVM
Date:2018-02-28
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All