eolymp
bolt
Try our new interface for solving problems
Problems

Delete a fragment

Delete a fragment

Time limit 1 second
Memory limit 128 MiB

Given a string of Latin letters and spaces. Delete in it all characters with indices from n to m inclusive. Indexation starts from 0.

Input data

The first line contains text of no more than 1000 Latin letters and spaces. Second line contains two integers n and m (nm).

Output data

Print the updated string.

Examples

Input example #1
abrakadabra
3 6
Output example #1
abrabra
Input example #2
This is my lovely beautiful house
7 16
Output example #2
This is beautiful house
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"