output_description: Print the string obtained by repeating the string `ACL` K times and
  concatenating them.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      K
attempt: N, M = map(int, input().split())
  
  notcalled = list(range(1, N + 1))
  nets = []
  for _ in range(M):
      a, b = map(int, input().split())
      if a in notcalled and b in notcalled:
          nets.append([a, b])
          del notcalled[notcalled.index(a)]
          del notcalled[notcalled.index(b)]
      elif a in notcalled:
          for net in nets:
              if b in net:
                  net.append(a)
          del notcalled[notcalled.index(a)]
      elif b in notcalled:
          for net in nets:
              if a in net:
                  net.append(b)
          del notcalled[notcalled.index(b)]
      else:
          for net in nets:
              f = True
              if a in net or b in net:
                  if f:
                      q = net.copy
                      del net
                  else:
                      net.extend(q)
  
  nets.extend(notcalled)
  print(len(nets) - 1)
  
problem_description: 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`.
samples: [{"input": "3", "output": "ACLACLACL"}]