{"problem":{"name":"Prefix?","description":{"content":"You are given two strings $S$ and $T$ consisting of lowercase English letters. Determine if $S$ is a prefix of $T$. What is a prefix? A prefix of a string $T_1T_2\\ldots T_N$ of length $N$ is a string ","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc268_b"},"statements":[{"statement_type":"Markdown","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.\n\n## Constraints\n\n*   $S$ and $T$ are strings of lengths between $1$ and $100$ (inclusive) consisting of lowercase English letters.\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":"abc268_b","tags":[],"sample_group":[["atco\natcoder","Yes\n\n`atco` is a prefix of `atcoder`. Thus, `Yes` should be printed."],["code\natcoder","No\n\n`code` is not a prefix of `atcoder`. Thus, `No` should be printed."],["abc\nabc","Yes\n\nNote that a string is also a prefix of itself."],["aaaa\naa","No"]],"created_at":"2026-03-03 11:01:14"}}