Petryk and the exam
Today Petrik finally took the exam in mathematical analysis. The exam had easy problems and difficult ones, and each difficult problem was worth twice as many points as an easy problem.
Petrik remembers that he could not solve exactly easy and hard problems, but he solved all other problems correctly.
Now Petrik is wondering whether he should be happy about passing the exam if to pass, he needs to get at least of the maximum possible score.
Note that if Petrik scores exactly of the maximum score, then the exam is considered failed.
Input
The first line contains four integers , , , and ().
Output
If Petrik passed the exam, output «YES
»; otherwise, output «NO
». The output can be in any case.
Examples
Note
In the first example, Petrik could not solve any problems, so he failed the exam.
In the second example, Petrik did not solve out of easy problems and out of difficult ones. This means that he solved out of easy problems and out of difficult ones correctly. If each easy problem is worth points, then Petrik got points for the easy problems and points for the difficult problems, giving a total of points. The maximum possible score is points, so when we calculate his result as a percentage of the maximum possible score, we get , which is greater than .
In the third example, Petrik did not solve out of easy problems and out of difficult ones. This means that he solved out of easy problems and out of difficult ones correctly. If each easy problem is worth points, then Petrik got points for the easy problems and points for the difficult problems, giving a total of points. The maximum possible score is points, so when we calculate his result as a percentage of the maximum possible score, we get approximately , which is less than .