Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
if len(S)<=K:
  print(S)
else:
  print(S[:K]+"...")

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
print(S if len(S)<=K)

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
list = 0
a = ""
for i in raige(K):
  a = a+S[list]
  list = list + 1
print(S if len(S)<=K else a+"...")

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
s = len(S)
if s<=K:
  print(S)

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
count = len(S)
list = 0
a = ""
for i in raige(K):
  a = a+S[list]
  list = list + 1

if count <= K:
  print(S)
else:
  print(a+"...")

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
count = len(S)
list = 0
List = []
for i in range(K):
  print(S[list])
  list = list + 1
if count <= K:
  print(S)
else:
  print( *i +"...")

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
if (len(S) <= K):
  print(S)


Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
s = len(S)
if (s <= K):
  print(S)


Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
s = len(S)
if (s <= K):
  print(S)

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
if (len(S) <= K):
  print(S)
else:
  print(S[K]+"...")

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
list = 0
a = ""
for i in raige(K):
  a = "a+S[list]"
  list = list + 1

if (len(S) <= K):
  print(S)


Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
count = len(S)
list = 0
a = ""
for i in raige(K):
  a = "a+S[list]"
  list = list + 1

if (count <= K):
  print(S)
else:
  print(a+"...")

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
count = len(S)
list = 0
a = ""
for i in raige(K):
  a = a+S[list]
  list = list + 1

if (count <= K):
  print(S)
else:
  print(a+"...")

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
count = len(S)
if (count <= K):
  print(S)
else:
  print('{:.Kg}.format(S)'+"...")


Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
count = len(S)
list = 0
for i in range(K):
  i = S[list]
  list = list + 1
if (count <= K):
  print(S)
else:
  print(i+"...")

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
count = len(S)
list = 0
List = []
for i in range(K):
  print(S[list])
  list = list + 1
if (count <= K):
  print(S)
else:
  print( *i +"...")


Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")

Buggy python submission (verdict: Runtime Error):
K = input()
S = input()
count = len(S)
list = 0
List = []
for i in range(K):
  a = S[list]
  a.attend(List)
  list = list + 1
if (count <= K):
  print(S)
else:
  print(List+"...")

Fixed submission:
k = int(input())
s = str(input())
if len(s) <= k:
    print(s)
else:
    print((s[:k]) + "...")