#ABC233B. [ABC233B] A Reverse

[ABC233B] A Reverse

提示:该题测试数据补录中,暂不支持评测提交。

No testdata at current.

No submission language available for this problem.

Score : 200200 points

Problem Statement

You are given integers LL, RR, and a string SS consisting of lowercase English letters. Print this string after reversing (the order of) the LL-th through RR-th characters.

Constraints

  • SS consists of lowercase English letters.
  • 1≤∣S∣≤1051 \le |S| \le 10^5 (∣S∣|S| is the length of SS.)
  • LL and RR are integers.
  • 1≤L≤R≤∣S∣1 \le L \le R \le |S|

Input

Input is given from Standard Input in the following format:

LL RR

SS

Output

Print the specified string.

3 7
abcdefgh
abgfedch

After reversing the 33-rd through 77-th characters of abcdefgh, we have abgfedch.

1 7
reviver
reviver

The operation may result in the same string as the original.

4 13
merrychristmas
meramtsirhcyrs