题目描述
Problem Description
You are considering participating in the DISCO presents Discovery Channel Programming Contest 2016 and are checking the official website. The official website only has DiscoPresentsDiscoveryChannelProgrammingContest2016 written on it.
Your PC's display can only show up to $ W $ characters per line. Therefore, characters starting from the $ W+1 $ character will be wrapped to the next line. Please check the samples for specific display examples.
So, how would DiscoPresentsDiscoveryChannelProgrammingContest2016 be displayed on your PC's display?
Input Format
The input is given from the standard input in the following format:
$ W $
- The first line contains an integer $W\ (1≦W≦51)$ representing the number of characters that can be displayed per line.
Output Format
Output the display result. Do not forget the trailing newline. Please check the samples for display examples.
Sample Input and Output
Sample Input #1
40
Sample Output #1
DiscoPresentsDiscoveryChannelProgramming
Contest2016
Sample Input #2
17
Sample Output #2
DiscoPresentsDisc
overyChannelProgr
ammingContest2016
Sample Input #3
51
Sample Output #3
DiscoPresentsDiscoveryChannelProgrammingContest2016
Notes/Hints
Sample Explanation 1
- In this case, the output spans across 2 lines.
- Since the display can only show up to 40 characters per line, characters starting from the 41st character are wrapped to the next line.
- The second line shows the 10 characters of
Contest2016. Be careful not to include extra blank characters or newlines, and do not forget the trailing newline.
Sample Explanation 2
- In this case, the output spans across 3 lines.
- Since the display can only show up to 17 characters per line, characters starting from the 18th and 35th characters are wrapped to the next line.
- The third line shows the 17 characters of
ammingContest2016. Be careful not to include extra blank characters or newlines, and do not forget the trailing newline.
Sample Explanation 3
- In this case, the output fits into 1 line. Be careful not to include extra blank characters or newlines, and do not forget the trailing newline.
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分