⌨️

[AtCoder]ABC-204|A - Rock-paper-scissors

2023/04/17に公開

設問ページ

提出結果

def getIntMap():
    return map(int, input().split())


def main():
    x, y = getIntMap()

    print(x if x == y else 3 - (x + y))


if __name__ == "__main__":
    main()

Discussion