atcoder#ABC280C. [ABC280C] Extra Character
[ABC280C] Extra Character
Score : points
Problem Statement
You are given strings and . consists of lowercase English letters, and is obtained by inserting a lowercase English letter into .
Find the position of the inserted character in . If there are multiple candidates, find any of them.
Constraints
- consists of lowercase English letters.
- is obtained by inserting a lowercase English letter into .
Input
The input is given from Standard Input in the following format:
Output
Print an integer , representing that the inserted character is the -th character from the beginning of . If there are multiple possible answers, printing any of them is accepted.
atcoder
atcorder
5
The -th character from the beginning of , r
, is inserted.
million
milllion
5
One of the -rd, -th, and -th characters from the beginning of is inserted. Thus, printing any one of , , and is accepted.
vvwvw
vvvwvw
3