#abc268b. [abc268_b]Prefix?

[abc268_b]Prefix?

Problem Statement

You are given two strings SS and TT consisting of lowercase English letters. Determine if SS is a prefix of TT.

What is a prefix? A prefix of a string T1T2ldotsTNT_1T_2\\ldots T_N of length NN is a string expressed as the first ii characters of TT, T1T2ldotsTiT_1T_2\\ldots T_i, where ii is an integer such that 0leqileqN0 \\leq i \\leq N. For example, when T=T = abc, there are four prefixes of TT: an empty string, a, ab, and abc.

Constraints

  • SS and TT are strings of lengths between 11 and 100100 (inclusive) consisting of lowercase English letters.

Input

Input is given from Standard Input in the following format:

SS TT

Output

Print Yes if SS is a prefix of TT; print No otherwise. Note that the judge is case-sensitive.


Sample Input 1

atco
atcoder

Sample Output 1

Yes

atco is a prefix of atcoder. Thus, Yes should be printed.


Sample Input 2

code
atcoder

Sample Output 2

No

code is not a prefix of atcoder. Thus, No should be printed.


Sample Input 3

abc
abc

Sample Output 3

Yes

Note that a string is also a prefix of itself.


Sample Input 4

aaaa
aa

Sample Output 4

No