Score: 200 points
M-kun has the following three cards:
He is a genius magician who can do the following operation at most K times:
His magic is successful if both of the following conditions are satisfied after the operations:
Determine whether the magic can be successful.
Input is given from Standard Input in the following format:
A B C K
If the magic can be successful, print Yes; otherwise, print No.
7 2 5 3
Yes
The magic will be successful if, for example, he does the following operations:
7 4 2 3
No
He has no way to succeed in the magic with at most three operations.