AT_abc458_a [ABC458A] Chompers
Description
You are given a string $ S $ consisting of lowercase English letters and a positive integer $ N $ . The length of $ S $ is at least $ 2N+1 $ .
Find the string obtained by removing $ N $ characters from the beginning and $ N $ characters from the end of $ S $ .
Input Format
The input is given from Standard Input in the following format:
> $ S $ $ N $
Output Format
Output the answer.
Explanation/Hint
### Sample Explanation 1
Removing the first three characters (`che`) and the last three characters (`apy`) from `chemotherapy` gives `mother`.
### Constraints
- $ S $ is a string consisting of lowercase English letters.
- $ N $ is an integer.
- $ 2N+1 \leq |S| \leq 30 $
- $ 1 \leq N \leq 10 $