Beakjoon&프로그래머스/파이썬

[백준/파이썬] 28960번 Плащ левитации

현장 2024. 2. 18. 15:30

-Code

h, l, a, b = map(int, input().split())

if (h >= a / 2 and l >= b) or (h >= b / 2 and l >= a):
    print("YES")
else:
    print("NO")