Score : 200 points
Snuke is interested in strings that satisfy the following conditions:
Find the length of the shortest string that satisfies the conditions.
The input is given from Standard Input in the following format:
N s t
Print the length of the shortest string that satisfies the conditions.
3 abc cde
5
The shortest string is abcde.
1 a z
2
The shortest string is az.
4 expr expr
4
The shortest string is expr.