#abc168b. [abc168_b]... (Triple Dots)
[abc168_b]... (Triple Dots)
Problem Statement
We have a string consisting of lowercase English letters.
If the length of is at most , print without change.
If the length of exceeds , extract the first characters in , append ...
to the end of them, and print the result.
Constraints
- is an integer between and (inclusive).
- is a string consisting of lowercase English letters.
- The length of is between and (inclusive).
Input
Input is given from Standard Input in the following format:
Output
Print a string as stated in Problem Statement.
Sample Input 1
7
nikoandsolstice
Sample Output 1
nikoand...
nikoandsolstice
has a length of , which exceeds .
We should extract the first characters in this string, append ...
to the end of them, and print the result nikoand...
.
Sample Input 2
40
ferelibenterhominesidquodvoluntcredunt
Sample Output 2
ferelibenterhominesidquodvoluntcredunt
The famous quote from Gaius Julius Caesar.