give pattern string s find s follow patternhere follow mean match bijection letter pattern nonempty word s Example 1input pattern abba s dog cat cat dogOutput trueExample 2input pattern abba s dog cat cat fishOutput falseexample 3input pattern aaaa s dog cat cat dogoutput false Constraints1 patternlength 300pattern contain lowercase english letters1 slength 3000s contain lowercase english letter space s contain lead trail spacesAll word s separate single space