#ABC268B. [ABC268B] Prefix?

[ABC268B] Prefix?

Score : 200200 points

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 T_1T_2\ldots T_N of length N is a string expressed as the first i characters of T, T_1T_2\ldots T_i, where i is an integer such that 0 \leq i \leq N. For example, when T = abc, there are four prefixes of T: 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.

atco
atcoder
Yes

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

code
atcoder
No

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

abc
abc
Yes

Note that a string is also a prefix of itself.

aaaa
aa
No