⌨️

[AtCoder]ABC-352|A - AtCoder Line

2024/05/22に公開

設問ページ

提出結果

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


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

    print('Yes' if min(x, y) <= z <= max(x, y) else 'No')


if __name__ == "__main__":
    main()

Discussion