You have two strings pattern $$$p$$$ and text $$$t$$$. Strings consist of only latin lower case characters. In addition pattern may include characters $$$+$$$ which means that a previous symbol should be repeated one or more times and characters $$$*$$$ in that case previous symbol should be repeated any number times.
Your task is to answer on the question does text $$$t$$$ matche to pattern $$$p$$$.
For example, text "eboooy" matches to patterns "ebo+y", "ebo*o*o+y+", but doesn't to "ebb*oy" or to "ebooo".
The first string of input consists pattern $$$p$$$, the second one consists text $$$t$$$. Both strings have non-negative length. It's guaranteed that $$$p$$$ is a valid in the meaning there are no two $$$+$$$ or $$$*$$$ in a row and the first symbol of $$$p$$$ is latin lower case character. Each string can't be longer than $$$1000$$$ characters.
Print Yes if text matches pattern, otherwise print No.
pa*t+ern
pattern
Yes
c*cp+p
cpp
Yes
b+b
b
No
| Name |
|---|


