100 atcoder#ABC167A. [ABC167A] Registration

[ABC167A] Registration

Score : 100100 points

Problem Statement

Takahashi wants to be a member of some web service.

He tried to register himself with the ID SS, 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 SS as his ID.

He is now trying to register with the ID TT. Determine whether this string satisfies the property above.

Constraints

  • SS and TT are strings consisting of lowercase English letters.
  • 1S101 \leq |S| \leq 10
  • T=S+1|T| = |S| + 1

Input

Input is given from Standard Input in the following format:

SS

TT

Output

If TT satisfies the property in Problem Statement, print Yes; otherwise, print No.

chokudai
chokudaiz
Yes

chokudaiz can be obtained by appending z at the end of chokudai.

snuke
snekee
No

snekee cannot be obtained by appending one character at the end of snuke.

a
aa
Yes