{"problem":{"name":"Yay!","description":{"content":"You are given a string $S$ consisting of lowercase English letters. The length of $S$ is between $3$ and $100$, inclusive. All characters but one of $S$ are the same. Find $x$ such that the $x$\\-th ch","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc342_a"},"statements":[{"statement_type":"Markdown","content":"You are given a string $S$ consisting of lowercase English letters. The length of $S$ is between $3$ and $100$, inclusive.\nAll characters but one of $S$ are the same.\nFind $x$ such that the $x$\\-th character of $S$ differs from all other characters.\n\n## Constraints\n\n*   $S$ is a string of length between $3$ and $100$, inclusive, consisting of two different lowercase English letters.\n*   All characters but one of $S$ are the same.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc342_a","tags":[],"sample_group":[["yay","2\n\nThe second character of `yay` differs from the first and third characters."],["egg","1"],["zzzzzwz","6"]],"created_at":"2026-03-03 11:01:14"}}