program main
character S*100
integer K,K2,I

read *,K
read *,S
I = K + 1
K2 = len_trim(S)
if( K <= K2 ) then
  S(I:I) = "."
  S(I+1:I+1) = "."
  S(I+2:I+2) = "."
  S(I+3:K2) = ""
end if
print '(A)', trim(S)
end program main