The length of the substring#8222

The length of the substring

1 second
128 megabytes
Very easy

Let us start numbering positions in the string from . The substring S[i\ldots j] is defined as the sequence of characters from position to position (inclusive) of the string . Given indices and , output the length of the substring and the substring itself, preserving the original order of characters.

Input

The first line contains a string , whose length does not exceed . The second line contains two integers and (1 \le i \le j \le \operatorname{size}(S)), where denotes the length of string .

Output

In the first line, output the length of the substring S[i\ldots j]. In the second line, print the substring itself.

Examples

Example 1

Loading
Loading