You have a word made of small letters. You need to change every letter that is not a specific letter to another specific letter. For example, if you want to keep 'b' and change everything else to 'g', you will replace all letters except 'b' with 'g'.
Input: 3, 'b', 'g', 'abc'
Output: gbg
Input: 1, 's', 'h', 's'
Output: s