11713
Problem ID: 11713
Note that for the following input
1
book
bake
The expected output is "No" because the second "o" cannot be replaced by another vowel at that position (because "b" is a consonant).
The following transformation is not legal
book --> bak (by replacing the "oo" by "a") --> bake (by adding the letter "e")
The judge's input likely does not contain such test cases anyway.
1
book
bake
The expected output is "No" because the second "o" cannot be replaced by another vowel at that position (because "b" is a consonant).
The following transformation is not legal
book --> bak (by replacing the "oo" by "a") --> bake (by adding the letter "e")
The judge's input likely does not contain such test cases anyway.