Useful 思考题!!

# Replace

Hikari is a cute white dragon girl. She is helping Ninetail - a fox girl, her master - correct composition.The original composition is a string S and the corrected one is another string T.

Hikari claimed that she used a single replaceAll function in doc to finish the correction. The function requires a from string and a to string and will replace all from with to in the string S. Your task is to find out what’s the minimum sum of characters of from and to to finish the change in one replaceAll.

## Example

In this example, from=fa to=mo

from=<space>i to=s<space>i

from=yp to=zjs