⌨️[AtCoder]ABC-062|A - Grouping2022/12/28に公開・約300字ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-062 A - Grouping 提出結果 def getIntMap(): return map(int, input().split()) def main(): a, b = getIntMap() s = [4, 6, 9, 11] print('No' if a == 2 or b == 2 else 'No' if (a in s) ^ (b in s) else 'Yes') if __name__ == "__main__": main() ツイートDiscussionログインするとコメントできますLogin
Discussion