⌨️

[AtCoder]ABC-188|A - Three-Point Shot

2023/04/02に公開

設問ページ

提出結果

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


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

    print('Yes' if abs(x - y) < 3 else 'No')


if __name__ == "__main__":
    main()

Discussion