{"raw_statement":[{"iden":"problem statement","content":"You are given two strings $S$ and $T$ consisting of lowercase English letters. Determine if $S$ is a prefix of $T$.\nWhat 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."},{"iden":"constraints","content":"*   $S$ and $T$ are strings of lengths between $1$ and $100$ (inclusive) consisting of lowercase English letters."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$S$\n$T$"},{"iden":"sample input 1","content":"atco\natcoder"},{"iden":"sample output 1","content":"Yes\n\n`atco` is a prefix of `atcoder`. Thus, `Yes` should be printed."},{"iden":"sample input 2","content":"code\natcoder"},{"iden":"sample output 2","content":"No\n\n`code` is not a prefix of `atcoder`. Thus, `No` should be printed."},{"iden":"sample input 3","content":"abc\nabc"},{"iden":"sample output 3","content":"Yes\n\nNote that a string is also a prefix of itself."},{"iden":"sample input 4","content":"aaaa\naa"},{"iden":"sample output 4","content":"No"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}