{"problem":{"name":"Registration","description":{"content":"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 obtai","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc167_a"},"statements":[{"statement_type":"Markdown","content":"Takahashi wants to be a member of some web service.\nHe tried to register himself with the ID $S$, which turned out to be already used by another user.\nThus, he decides to register using a string obtained by appending one character at the end of $S$ as his ID.\nHe is now trying to register with the ID $T$. Determine whether this string satisfies the property above.\n\n## Constraints\n\n*   $S$ and $T$ are strings consisting of lowercase English letters.\n*   $1 \\leq |S| \\leq 10$\n*   $|T| = |S| + 1$\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$S$\n$T$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc167_a","tags":[],"sample_group":[["chokudai\nchokudaiz","Yes\n\n`chokudaiz` can be obtained by appending `z` at the end of `chokudai`."],["snuke\nsnekee","No\n\n`snekee` cannot be obtained by appending one character at the end of `snuke`."],["a\naa","Yes"]],"created_at":"2026-03-03 11:01:14"}}