#abc167a. [abc167_a]Registration
[abc167_a]Registration
Problem Statement
Takahashi wants to be a member of some web service.
He tried to register himself with the ID , which turned out to be already used by another user.
Thus, he decides to register using a string obtained by appending one character at the end of as his ID.
He is now trying to register with the ID . Determine whether this string satisfies the property above.
Constraints
- and are strings consisting of lowercase English letters.
Input
Input is given from Standard Input in the following format:
Output
If satisfies the property in Problem Statement, print Yes
; otherwise, print No
.
Sample Input 1
chokudai
chokudaiz
Sample Output 1
Yes
chokudaiz
can be obtained by appending z
at the end of chokudai
.
Sample Input 2
snuke
snekee
Sample Output 2
No
snekee
cannot be obtained by appending one character at the end of snuke
.
Sample Input 3
a
aa
Sample Output 3
Yes