AT_abc412_b [ABC412B] Precondition

Description

You are given strings $ S $ and $ T $ consisting of lowercase and uppercase English letters. Determine whether the string $ S $ satisfies the following condition: - Every uppercase letter in $ S $ that is not at the beginning is immediately preceded by a character contained in $ T $ . More formally, for all integers $ i $ such that $ 2 \leq i \leq |S| $ , if the $ i $ -th character of $ S $ is uppercase, then the $ (i-1) $ -th character of $ S $ is contained in $ T $ .

Input Format

The input is given from Standard Input in the following format: > $ S $ $ T $

Output Format

If $ S $ satisfies the condition in the problem statement, output `Yes`. Otherwise, output `No`.

Explanation/Hint

### Sample Explanation 1 The only uppercase letter in $ S $ that is not at the beginning is the $ 3 $ rd character `C`. The immediately preceding character `t` is contained in $ T $ , so output `Yes`. ### Sample Explanation 2 The $ 3 $ rd character of $ S $ is the uppercase letter `C`, and its immediately preceding character is `B`, but `B` is not contained in $ T $ . ### Constraints - Each of $ S $ and $ T $ is a string consisting of lowercase and uppercase English letters with length between $ 1 $ and $ 100 $ , inclusive.