{"problem":{"name":"Nine","description":{"content":"We have the following $3 \\times 3$ board with integers from $1$ through $9$ written on it. ![image](https://img.atcoder.jp/abc309/86862b285a60054303435965fe642c67.jpg) You are given two integers $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":"abc309_a"},"statements":[{"statement_type":"Markdown","content":"We have the following $3 \\times 3$ board with integers from $1$ through $9$ written on it.\n![image](https://img.atcoder.jp/abc309/86862b285a60054303435965fe642c67.jpg)\nYou are given two integers $A$ and $B$ between $1$ and $9$, where $A < B$.\nDetermine if the two squares with $A$ and $B$ written on them are adjacent horizontally.\n\n## Constraints\n\n*   $1 \\le A < B \\le 9$\n*   $A$ and $B$ are integers.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$A$ $B$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc309_a","tags":[],"sample_group":[["7 8","Yes\n\nThe two squares with $7$ and $8$ written on them are adjacent horizontally, so print `Yes`."],["1 9","No"],["3 4","No"]],"created_at":"2026-03-03 11:01:14"}}