{"problem":{"name":"ab","description":{"content":"You are given a string $S$ of length $N$ consisting of lowercase English letters.   If there are any adjacent occurrences of `a` and `b` in $S$, print `Yes`; otherwise, print `No`. (The order of `a` a","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc327_a"},"statements":[{"statement_type":"Markdown","content":"You are given a string $S$ of length $N$ consisting of lowercase English letters.  \nIf there are any adjacent occurrences of `a` and `b` in $S$, print `Yes`; otherwise, print `No`. (The order of `a` and `b` does not matter.)\n\n## Constraints\n\n*   $2 \\leq N \\leq 100$\n*   $S$ is a string of length $N$ consisting of lowercase English letters.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$N$\n$S$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc327_a","tags":[],"sample_group":[["3\nabc","Yes\n\nThe string `abc` has `a` as the first character and `b` as the second character, which are adjacent. Thus, print `Yes`."],["2\nba","Yes\n\nThe string `ba` has `a` as the second character and `b` as the first character, which are adjacent. (Note that the order of `a` and `b` does not matter.)"],["7\natcoder","No"]],"created_at":"2026-03-03 11:01:14"}}