#K82067. Gift Bag Creation
Gift Bag Creation
Gift Bag Creation
You are given four integers representing:
- C: the number of candies available,
- D: the number of chocolates available,
- M: the minimum number of candies required for a gift bag,
- N: the minimum number of chocolates required for a gift bag.
You need to determine whether at least one gift bag can be created. A gift bag can be created if and only if the following condition holds:
$$ C \ge M \quad \text{and} \quad D \ge N. $$
Output Yes
if a gift bag can be made; otherwise, output No
.
inputFormat
The input consists of a single line containing four space-separated integers: C, D, M, and N.
outputFormat
Output a single line containing either 'Yes' if it is possible to create a gift bag, or 'No' otherwise.## sample
10 5 2 3
Yes
</p>