n=int(input()) for i in range(n):print(['COBOL','*'*(i*2+1)][i