PROGRAMMING:Substring
Write a function to output n characters starting from the ith character in a string, such as the string "I love China!", The four characters starting from the third character are "love".
###Input format:
Enter a string (no more than 80 characters) on the first line.
On the second line, enter two positive integers i and n.
###Output format:
The n characters starting from the i-th character in the output string. When I + n-1 is greater than the length of the string, the character from the ith character to the end of the string is output.
###Input example:
Here is a set of inputs. For example:
```in
AA BB CC DD
3 5
AA BB CC DD EE
8 10
```
###Output example:
The corresponding output is given here. For example:
```out
BB C
C DD EE
```
answer:If there is no answer, please comment
###Input format:
Enter a string (no more than 80 characters) on the first line.
On the second line, enter two positive integers i and n.
###Output format:
The n characters starting from the i-th character in the output string. When I + n-1 is greater than the length of the string, the character from the ith character to the end of the string is output.
###Input example:
Here is a set of inputs. For example:
```in
AA BB CC DD
3 5
AA BB CC DD EE
8 10
```
###Output example:
The corresponding output is given here. For example:
```out
BB C
C DD EE
```
answer:If there is no answer, please comment