A file filter uses glob patterns. A pattern p may contain lowercase letters and two wildcard characters: ? matches exactly one arbitrary character, and * matches any sequence of characters (including the empty sequence). Decide whether pattern p matches the ENTIRE string s (not just a part of it).
Input format
Line 1: the text string s (lowercase letters only).
Line 2: the pattern string p (lowercase letters, ?, and *).
Output format
Print YES if p matches all of s, otherwise NO.
Constraints
- 1 <= length of
s<= 40 - 1 <= length of
p<= 40 sconsists of lowercase English letters;pconsists of lowercase letters,?, and*.