Buggy python submission (verdict: Runtime Error):
k = int(input())
s = input()
if int(len(s)) <= k:
  	print(str(s))
else:
  	print(((str(s))[0:k])

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

Buggy python submission (verdict: Runtime Error):
k = int(input())
s = input()
l = len(s)
if l <= k:
	print(s)
else: 
  	print(s[0:k]"...")


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

Buggy python submission (verdict: Runtime Error):
k = input()
w = input()
l = len(w)
if l <= k:
	print(w)
else:
    print(w[:k]"...")


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

Buggy python submission (verdict: Runtime Error):
k = input()
w = input()
l = len(w)
if l <= k:
	print(w)
else:
    print(w[:k])


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

Buggy python submission (verdict: Runtime Error):
k = input()
w = input()
l = len(w)
if l <= k:
	print(w)
else:
    print(w[:k])

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

Buggy python submission (verdict: Runtime Error):
k = input()
w = input()
l = len(w)
if l <= k:
 	 print(w)
else:
   	 print(w[:k])


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

Buggy python submission (verdict: Runtime Error):
k = input()
w= input()
l = len(w)
if l <= k:
	print(w)
else:
	print(w[:k])


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

Buggy python submission (verdict: Runtime Error):
k = input()
w= input()
l = len(w)
if l <= k:
 	 
    print(w)
else:
   	 print(w[:k])


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

Buggy python submission (verdict: Runtime Error):
k = input()
w= input()
l = len(w)
	if l <= k:
 	 print(w)
  	else:
   	 print(w[:k])


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

Buggy python submission (verdict: Runtime Error):
k = input()
w= input()
l = len(str)
	if l <= k:
  print(str)
  	else:
    print(w[:k])


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

Buggy python submission (verdict: Runtime Error):
k = input()
str = input()
l = len(str)
if l <= k:
  print(str)
  else:
    print(s[:k])


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

Buggy python submission (verdict: Runtime Error):
k = input()
str = input()
l = len(str)
if l <= k:
  print(str)
  else:
    print(s[:k])

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

Buggy python submission (verdict: Runtime Error):
k = input()
str = input()
l = len(str)
if l <= k:
  print(str)
  else:
    print(s[1:k])

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