100 atcoder#ABC168B. [ABC168B] ... (Triple Dots)
[ABC168B] ... (Triple Dots)
Score: points
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.
7
nikoandsolstice
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...
.
40
ferelibenterhominesidquodvoluntcredunt
ferelibenterhominesidquodvoluntcredunt
The famous quote from Gaius Julius Caesar.