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.

-----Sample Input-----
chokudai
chokudaiz

-----Sample Output-----
Yes

chokudaiz can be obtained by appending z at the end of chokudai.
[{"code": "print('YNeos'[input()+(T:=input())[-1]!=T::2])", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "s=input()\nt=input()\nn=len(t)\nif t[:n-1]==s:\n\tprint(\"Yes\")\nelse:\n\tprint(\"No\")", "passed": true, "time": 0.93, "memory": 14100.0, "status": "done"}, {"code": "s=list(input() for i in range(2))\nif s[0]==s[1][:-1]:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.15, "memory": 14120.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nif t[:-1] == s:\n    print('Yes')\nelse:\n    print('No')\n", "passed": true, "time": 0.21, "memory": 14092.0, "status": "done"}, {"code": "S = input()\nT = input()\n\n\n# \u6587\u5b57\u5217T\u306e\u9577\u3055\uff1d\u6587\u5b57\u5217S\u306e\u9577\u3055\uff0b\uff11\u306e\u9577\u3055\n# \u6587\u5b57\u5217T\u306e\u6700\u5f8c\u306e\uff11\u6587\u5b57\u3060\u3051\u7570\u306a\u308b\n# \u6587\u5b57\u5217T\u306e\u6700\u5f8c\u306e\uff11\u6587\u5b57\u3092\u8997\u304f\u3068\u6587\u5b57\u5217S\u3068\u540c\u3058\u6587\u5b57\u5217\n\n# S\u306e\u9577\u3055 = len(S)\n# T\u306e\u9577\u3055 = len(T)\n# if len(T) == len(S) + 1:\n\n# \u6587\u5b57\u5217T\u306e\u6700\u5f8c\u306e\uff11\u6587\u5b57 = T[len(T) - 1]\n# if S == T - T[len(T) - 1] \u2190\u30de\u30a4\u30ca\u30b9\uff08\u9664\u5916\uff09\u306fNG\n# if T == S + T[len(T) - 1] \u2190\u30d7\u30e9\u30b9\uff08\u7d50\u5408\uff09\u306f\u53ef\n\n# \u6587\u5b57\u5217T\u306e\u982d\uff11\u6587\u5b57\u76ee\u3092\u53d6\u308a\u51fa\u3059\n# \u2192\u6587\u5b57\u5217\u306e\u6700\u521d\u306e\u6587\u5b57\u306f\u30bc\u30ed\u756a\u76ee\u3067\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\uff08\u30bc\u30ed\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\uff09\n# \u2192[]\u3067\u56f2\u3080\u3002x\u756a\u76ee\u306f[x -1]\n# T[0]\n# \u6587\u5b57\u5217T\u306e\u982d\uff12\u6587\u5b57\u76ee\u3092\u53d6\u308a\u51fa\u3059\n# T[1]\n# \u6587\u5b57\u5217T\u306e\u982d\uff13\u6587\u5b57\u76ee\u3092\u53d6\u308a\u51fa\u3059\n# T[2]\n# \u6587\u5b57\u5217T\u306e\u6700\u5f8c\u306e\uff11\u6587\u5b57\u3092\u53d6\u308a\u51fa\u3059\n# T[len(T) - 1]\n# \u2192python\u306fT[-1]\u3068\u3082\u66f8\u3051\u308b\n\nif len(T) == len(S) + 1 and T == S + T[len(T) - 1]:\n    print('Yes')\nelse:\n    print('No')\n\n\n", "passed": true, "time": 0.33, "memory": 14136.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nif s == t[:-1] :\n  print(\"Yes\")\nelse:\n  print(\"No\")\n", "passed": true, "time": 0.32, "memory": 14100.0, "status": "done"}, {"code": "s = input()\nt = input()\nflg = 0\nfor i in range(len(s)):\n    if t[i] != s[i]:\n        flg = 1\n        break\nif flg:\n    print(\"No\")\nelse:\n    print(\"Yes\")", "passed": true, "time": 0.15, "memory": 14208.0, "status": "done"}, {"code": "s = input()\nt = input()\nif s == t[:-1]:\n    print('Yes')\nelse:\n    print('No')\n", "passed": true, "time": 0.21, "memory": 14104.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nif t[:-1] == s[:]:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.32, "memory": 14088.0, "status": "done"}, {"code": "s = input()\nt = input()\nprint(['No','Yes'][s == t[:-1]])", "passed": true, "time": 0.15, "memory": 14256.0, "status": "done"}, {"code": "s=input()\nt=input()\nprint(['No','Yes'][s==t[:-1]])", "passed": true, "time": 0.16, "memory": 14068.0, "status": "done"}, {"code": "print(\"YNeos\"[input()!=input()[:-1]::2])", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "S=input()\nT=input()\nans=1\nfor i in range(len(S)):\n    if S[i]!=T[i]:\n        ans=0\n        break\nif ans==1:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nif T[:-1] == S:\n    print(\"Yes\")\nelse:\n    print(\"No\")\n", "passed": true, "time": 0.14, "memory": 14264.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nt = t[:len(s)]\n#print(t)\n\nif s == t:\n    print(\"Yes\")\nelse:\n    print(\"No\")\n", "passed": true, "time": 0.28, "memory": 14124.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nprint(\"Yes\" if S == T[:len(T) - 1] else \"No\")", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "#ABC167\nS = input()\nT = input()\n#----------\u4ee5\u4e0a\u5165\u529b----------\nif S == (T[:-1]):\n    print('Yes')\nelse:\n    print('No')", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "S = str(input())\nT = str(input())\n\nif S == T[0:-1]:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "s=input()\nt=input()\na=0\nfor i in range(len(s)):\n  if s[i]==t[i]:\n    a+=1\nif a==len(s):\n      print('Yes')\nelse:\n      print('No')", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "S = input()\nT = input()\nSS = len(S)\nTT = len(T)\nhantei = 0\ncount = 0\n\nif SS + 1 == TT:\n  hantei += 1\n\nfor i in range(SS):\n  if S[i] == T[i]:\n    count += 1\n\nif count == SS:\n  hantei += 1\n\nif hantei == 2:\n  print('Yes')\nelse:\n  print('No')", "passed": true, "time": 0.14, "memory": 14192.0, "status": "done"}, {"code": "S=input()\nT=input()\nT=T[:-1]\nif S==T:\n    print('Yes')\nelse:\n    print('No')", "passed": true, "time": 0.14, "memory": 14156.0, "status": "done"}, {"code": "s=input()\nt=input()\nflag=1\nfor i in range(len(s)):\n    if s[i]!=t[i]:\n        flag=0\n        break\nif flag==1:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "a = str(input())\nb = list(str(input()))\nb.pop(-1)\nb = (''.join(b))\nif a == b:\n    print('Yes')\nelse:\n    print('No')", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nif (s == t[:len(t)-1]):\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nif t.startswith(s):\n  print('Yes')\nelse:\n  print('No')", "passed": true, "time": 0.14, "memory": 14140.0, "status": "done"}, {"code": "print('YNeos'[input()!=input()[:-1]::2])", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "#                               #\n    # author : samars_diary #\n    # 21-09-2020 \u2502 11:35:53 #\n#                               #\n\nimport sys, os.path\n\n#if(os.path.exists('input.txt')):\n    #sys.stdin = open('input.txt',\"r\")\n    #sys.stdout = open('output.txt',\"w\")\n\nsys.setrecursionlimit(10 ** 5)\n\ndef mod(): return 10**9+7\ndef i(): return sys.stdin.readline().strip()\ndef ii(): return int(sys.stdin.readline())\ndef li(): return list(sys.stdin.readline().strip())\ndef mii(): return map(int, sys.stdin.readline().split())\ndef lii(): return list(map(int, sys.stdin.readline().strip().split()))\n\n#print=sys.stdout.write\n\ndef solve():\n    a=i() ; b=i()\n    if len(a)==len(b)-1 and a == b[:-1]: print('Yes')\n    else: print('No')\nsolve()", "passed": true, "time": 0.19, "memory": 14268.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nfor i in range(len(s)):\n  if not s[i] == t[i]:\n    print(\"No\")\n    return\n    \nprint(\"Yes\")", "passed": true, "time": 1.34, "memory": 14252.0, "status": "done"}, {"code": "s = input()\nt = input()\nl = len(s)\n\nif s == t[:l]:\n    print('Yes')\nelse:\n    print('No')", "passed": true, "time": 0.32, "memory": 14240.0, "status": "done"}, {"code": "S=input()\nT=input()\nN=len(S)\n\nfor i in range(N):\n  if S[i]!=T[i]:\n    print('No')\n    return\nprint('Yes')", "passed": true, "time": 0.14, "memory": 14316.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nif S == T[:-1]:\n  print('Yes')\nelse:\n  print('No')\n", "passed": true, "time": 0.23, "memory": 14108.0, "status": "done"}, {"code": "s=input()\nt=input()\ni=0\nbool=False\nwhile i<=len(s)-1:\n    if s[i]!=t[i]:\n        print(\"No\")\n        bool=True\n        break\n    else:\n        i=i+1\nif bool==False:\n    print(\"Yes\")\n", "passed": true, "time": 0.33, "memory": 14120.0, "status": "done"}, {"code": "s = input()\nt = input()\nif(s in t and len(t)==len(s)+1 and t[:len(s)]==s):\n  print('Yes')\nelse:\n  print('No')", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "s = input()\nt = input()\nif s == t[:-1]:\n  print('Yes')\nelse:\n  print('No')\n", "passed": true, "time": 0.17, "memory": 14260.0, "status": "done"}, {"code": "S = str(input())\nT = str(input())\nT1 = T[:-1]\nif S == T1:\n    print('Yes')\nelse:\n    print('No')\n", "passed": true, "time": 0.29, "memory": 14252.0, "status": "done"}, {"code": "s = input()\n\nt = input()\n\ni = len(t) - 1\n\nif t == s + t[i]:\n    print('Yes')\nelse:\n    print('No')", "passed": true, "time": 0.33, "memory": 14276.0, "status": "done"}, {"code": "s=input()\nt=input()\nl=len(t)\n\nif s==(t[0:l-1]):\n  print(\"Yes\")\nelse:\n  print(\"No\")", "passed": true, "time": 0.17, "memory": 14368.0, "status": "done"}, {"code": "s=input()\nt=input()\nif s==t[:-1]:\n  print('Yes')\nelse:\n  print('No')", "passed": true, "time": 0.25, "memory": 14204.0, "status": "done"}, {"code": "S, T = input(), input()\n\nif T[:-1] == S:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.24, "memory": 14340.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nif (len(t)-len(s)==1) and (t[:-1]==s):\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.18, "memory": 14204.0, "status": "done"}, {"code": "def main() -> None:\n    s = input()\n    t = input()\n\n    print(('Yes' if s == t[:-1] else 'No'))\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.24, "memory": 14104.0, "status": "done"}, {"code": "s = input()\nt = input()\nif s == t[:-1]:\n  print(\"Yes\")\nelse:\n  print(\"No\")", "passed": true, "time": 0.17, "memory": 14324.0, "status": "done"}, {"code": "def registration():\n    S = input()\n    T = input()\n    for i, j in enumerate(S):\n        if T[i] != j:\n            break\n    else:\n        print(\"Yes\")\n        return\n    print(\"No\")\nregistration()", "passed": true, "time": 0.21, "memory": 14312.0, "status": "done"}, {"code": "# coding: utf-8\n# Your code here!\nS = input()\nT = input()\n\nif S == T[0:len(T)-1]:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.15, "memory": 14360.0, "status": "done"}, {"code": "s = input()\nt = input()\n \nif len(s) + 1 == len(t) and s in t and s[0] == t[0]:\n    print('Yes')\nelse: \n    print('No')", "passed": true, "time": 0.22, "memory": 14248.0, "status": "done"}, {"code": "s = input()\nt = input()\nl = len(s)\n\nif s == t[:l]:\n    print('Yes')\nelse:\n    print('No')", "passed": true, "time": 0.14, "memory": 14100.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nL = len(S)\n\nprint(\"Yes\") if T[:L] == S else print(\"No\")", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nprint('Yes') if T[:len(S)] == S else print('No')", "passed": true, "time": 0.15, "memory": 14212.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nif s == t[:-1]:\n    print('Yes')\nelse:\n    print('No')\n", "passed": true, "time": 0.15, "memory": 14248.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nif S == T[:-1] and len(T[-1:]) == 1:\n  print('Yes')\nelse:\n  print('No')\n", "passed": true, "time": 0.18, "memory": 14092.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nif s == t[:len(t) - 1]:\n    print('Yes')\nelse:\n    print('No')\n", "passed": true, "time": 0.15, "memory": 14116.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nif S in T and S[0] == T[0]:\n    print(\"Yes\")\n\nelse:\n    print(\"No\")\n\n", "passed": true, "time": 0.14, "memory": 14276.0, "status": "done"}, {"code": "S,T = [input() for _ in range(2)]\nprint(\"Yes\") if S==T[:-1] else print(\"No\")", "passed": true, "time": 0.14, "memory": 14116.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nS = S + T[-1]\nif S == T:\n    ans = 'Yes'\nelse:\n    ans = 'No'\nprint(ans)", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nif S + T[-1] == T:\n  print(\"Yes\")\nelse:\n  print(\"No\")", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "S = input()\nT = input()\nif(len(S) + 1 == len(T) and S + T[-1] == T):\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14148.0, "status": "done"}, {"code": "import sys\nS = input()\nT = input()\n\nfor i in range(len(S)):\n    if S[i] != T[i]:\n        print(\"No\")\n        return\n\nprint(\"Yes\")", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "n = input()\ns = input()\n\nif n == s[:-1] and len(n) == len(s)-1:\n    print('Yes')\nelse :\n    print('No')", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "s = list(input())\nt = list(input())\nt.pop(-1)\nfor i in range(len(t)):\n    if s[i] != t[i]:\n        print('No')\n        return\nprint('Yes')", "passed": true, "time": 0.14, "memory": 14276.0, "status": "done"}, {"code": "S = list(input())\nT = list(input())\ncount = 0\n\nfor i in range(len(S)):\n    if S[i] == T[i]:\n        count += 1\n\nif count == len(S) and len(T) == len(S) + 1:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "def solve():\n    S = input()\n    T = input()\n    n = len(S)\n    m = len(T)\n    if(n >= 1 and n <= 10 and m-n == 1):\n        if(T[:m-1] == S):\n            print(\"Yes\")\n            return\n    print(\"No\")\n\n\n\ndef __starting_point():\n    solve()\n    \n\n\n__starting_point()", "passed": true, "time": 0.22, "memory": 14268.0, "status": "done"}, {"code": "s = input(); t= input()\nif(s == t[0:-1] and len(s)+1==len(t)):\n  print(\"Yes\")\nelse:\n  print(\"No\")", "passed": true, "time": 0.49, "memory": 14168.0, "status": "done"}, {"code": "s = input()\nt = input()\nT = t[:-1]\nprint(\"Yes\" if s == T else \"No\")", "passed": true, "time": 0.55, "memory": 14220.0, "status": "done"}, {"code": "import sys\n\ns = list(input())\nt = list(input())\nn = len(s)\nfor i in range(n):\n    if s[i] != t[i]:\n        print(\"No\")\n        return\nprint(\"Yes\")\n", "passed": true, "time": 0.24, "memory": 14228.0, "status": "done"}, {"code": "S = input()\nT = input()\nm = T[-1]\nm = str(m)\nS = S + m\nif (S==T):\n    print(\"Yes\")\nelse:\n    print(\"No\")\n  \n", "passed": true, "time": 0.23, "memory": 14088.0, "status": "done"}, {"code": "s = input()\nt = input()\nif t == s + t[-1] :\n    print('Yes')\nelse :\n    print('No')", "passed": true, "time": 0.31, "memory": 14196.0, "status": "done"}, {"code": "S = input()\nT = input()\nprint(('Yes' if S == T[:-1] else 'No'))\n", "passed": true, "time": 0.24, "memory": 14376.0, "status": "done"}, {"code": "s = str(input())\nt = str(input())\nif s == t[:len(t) - 1]:\n    print(\"Yes\")\nelse:\n    print(\"No\")\n", "passed": true, "time": 0.24, "memory": 14116.0, "status": "done"}, {"code": "s = input()\n\nt = input()\n\nn = len(s)\n\nif t == s[:n] + t[-1]:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "s=list(input())\nt=list(input())\nflag=0\nif (len(s)+1)==len(t):\n  for i in range(len(s)):\n    if s[i]!=t[i]:\n      flag=1\n  if flag==1:\n    print('No')\n  else:\n    print('Yes')\nelse:\n  print('No')", "passed": true, "time": 0.24, "memory": 14316.0, "status": "done"}, {"code": "s = input()\nt = input()\nif(t[0:len(t)-1] == s):\n    print(\"Yes\")\nelse:\n    print(\"No\")\n", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "S=input()\nT=input()\nyes=True\nl=len(S)\nfor i in range(0,l):\n  if S[i]!=T[i]:\n    yes=False\n    break\nif yes:\n  print(\"Yes\")\nelse:\n  print(\"No\")\n", "passed": true, "time": 0.14, "memory": 14284.0, "status": "done"}, {"code": "s = input()\nt = input()\nif t[:-1] == s:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "A = input()\nB = input()\nB = B[0:len(B)-1]\nif A == B:\n  print('Yes')\nelse:\n  print('No')", "passed": true, "time": 0.18, "memory": 14236.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nif (s + t[-1]) == t :\n    print(\"Yes\")\n\nelse :\n    print(\"No\")\n", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "S = input()\nT = input()\nif T[0:-1] == S:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nif t.find(s) == 0:\n  print('Yes')\nelse:\n  print('No')", "passed": true, "time": 0.15, "memory": 14160.0, "status": "done"}, {"code": "S = input()\nT = input()\nresult = False\nif all([s >= 'a' and s <= 'z' for s in S]):\n  if all([t >= 'a' and t <= 'z' for t in T]):\n     if len(S) >= 1 and len(S) <= 10:\n        if len(T) == len(S) + 1:\n          result = T.startswith(S)\nif result:\n  print('Yes')\nelse:\n  print('No')", "passed": true, "time": 0.15, "memory": 14384.0, "status": "done"}, {"code": "S = input()\nT = input()\nif S == T[:-1]:\n  print('Yes')\nelse:\n  print('No')\n", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "s=input()\nt=input()\nts=t[:-1]\nif s==ts:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nu = t[:len(t) - 1]\nif s == u:\n    print('Yes')\nelse:\n    print('No')\n", "passed": true, "time": 0.15, "memory": 14244.0, "status": "done"}, {"code": "s = input()\nt = input()\nans = 'No'\nif len(s) + 1 == len(t):\n    for i in range(len(s)):\n        if s[i] != t[i]:\n            break\n        if i == len(s) - 1:\n            ans = 'Yes'\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14124.0, "status": "done"}, {"code": "s = input()\nt = input()\nif s == t[:-1]:\n    print('Yes')\nelse:\n    print('No')\n", "passed": true, "time": 0.15, "memory": 14200.0, "status": "done"}, {"code": "print(\"YNeos\"[input()!=input()[:-1]::2])", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "import sys\nS=input()\nT=input()\nfor i in range(len(S)):\n  if S[i]!=T[i]:\n    print('No')\n    return\nprint('Yes')", "passed": true, "time": 0.14, "memory": 14200.0, "status": "done"}, {"code": "S = input()\nT = input()\nT = T[0:-1]\nif S != T:\n        print(\"No\")\nelse:\n    print(\"Yes\")", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nif T.startswith(S):\n    print('Yes')\nelse:\n    print('No')", "passed": true, "time": 0.24, "memory": 13920.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nif S == T[:len(S)]:\n    print(\"Yes\")\nelse:\n    print(\"No\")\n", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "S=input()\nT=input()\ncount=0\nfor i in range(len(S)):\n    if S[i]==T[i]:count+=1\nif count==len(S):print(\"Yes\")\nelse:print(\"No\")", "passed": true, "time": 0.24, "memory": 13824.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nans_bool = True\nfor i in range(len(s)):\n    if s[i] != t[i]:\n        ans_bool = False\n        break\n\nif ans_bool:\n    print(\"Yes\")\nelse:\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14336.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nfor i, j in zip(S, T[:-1]):\n    if i != j:\n        print('No')\n        break\nelse:\n    print('Yes')", "passed": true, "time": 0.14, "memory": 14200.0, "status": "done"}, {"code": "S = input()\nT = input()\n\nif S == T[:-1] :\n    print(\"Yes\")\nelse :\n    print(\"No\")", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "def __starting_point():\n\n\ts = input()\n\tt = input()\n\n\tif s == t[:-1]:\n\t\tprint(\"Yes\")\n\telse:\n\t\tprint(\"No\")\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "s = input()\nt = input()\n\nif s == t[0:-1]:\n    print('Yes')\nelse:\n    print('No')\n", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "S = str(input())\nT = str(input())\nfor i in range(len(S)):\n  if S[i] != T[i]:\n    print('No')\n    return\nprint('Yes')", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "import sys\nstdin=sys.stdin\n\nip=lambda: int(sp())\nfp=lambda: float(sp())\nlp=lambda:list(map(int,stdin.readline().split()))\nsp=lambda:stdin.readline().rstrip()\nyp='Yes'\nnp='No'\n\ns=sp()\nt=sp()\n\nl=len(s)\n\nif s[0:l]==t[0:l]:\n  print(yp)\nelse:\n  print(np)", "passed": true, "time": 0.14, "memory": 14340.0, "status": "done"}]