Takahashi wants to be a member of some web service.

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

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

Constraints

* S and T are strings consisting of lowercase English letters.
* 1 \leq |S| \leq 10
* |T| = |S| + 1

Input

Input is given from Standard Input in the following format:


S
T


Output

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

Examples

Input

chokudai
chokudaiz


Output

Yes


Input

snuke
snekee


Output

No


Input

a
aa


Output

Yes
import java.util.Scanner;

public class Main{
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		String S = scan.next();
		String T = scan.next();
		String Ts = T.substring(0,S.length());
		String result = "";
		if(S.equals(Ts)) {
			result = "Yes";
		}else {
			result = "No";
		}
		System.out.println(result);
	}

}