output_description: Print a string as stated in Problem Statement.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      K
      S
attempt: K = int(input())
  N = list(input())
  # print(K,N)
  ans = []
  if len(N) > K:
      for i in range(len(N) - K):
          # print(i,len(N))
          N.pop(-1)
  print("".join(N))
  
problem_description: Statement
  
  We have a string S consisting of lowercase English letters.
  
  If the length of S is at most K, print S without change.
  
  If the length of S exceeds K, extract the first K characters in S, append
  `...` to the end of them, and print the result.
samples: [{"input": "7\n    nikoandsolstice", "output": "nikoand...\n    \n\n`nikoandsolstice` has a length of 15, which exceeds K=7.\n\nWe should extract the first 7 characters in this string, append `...` to the\nend of them, and print the result `nikoand...`.\n\n* * *"}, {"input": "40\n    ferelibenterhominesidquodvoluntcredunt", "output": "ferelibenterhominesidquodvoluntcredunt\n    \n\nThe famous quote from Gaius Julius Caesar."}]