Wesley is running late to school!
The neighbourhood is modelled as a coordinate plane, and Wesley's house is currently sitting at . The school is a rectangle of dimensions metres horizontally and metres vertically. Its bottom left corner is situated at , but there are entrances located at any point of the school. Formally, there are entrances located at all points such that and .
Being the cool kid that he is, Wesley does a lot of parkour and will use his abilities to move faster than most people. In one second, he can move in one of two ways:
- Move metres up, then metre right
- Move metre up, then metres right
Hurry, the bell rings in seconds! Can Wesley make it to class strictly before seconds pass and the teachers get angry at him?
Note that Wesley can only enter the school if he touches an entrance to the school after performing a move.
Python users are recommended to use PYPY over CPython. There is a significant performance increase.
The first line of the input will contain four integers , the coordinates of the bottom left corner of the school and its dimensions.
The second line of the input will contain one integer , the number of seconds Wesley has before the school bell rings.
It is guaranteed that the school will not be located directly at Wesley's house and that it will be reachable using the moves described.
If Wesley can parkour in time to school (in strictly less than seconds), output
YES. Otherwise, output
Subtask 1 [30%]
Subtask 2 [70%]
No further constraints.
Sample Input 1
2 3 3 3 2
Sample Output 1
Explanation For Sample 1
While it is possible for Wesley to reach the school in seconds:
- Move metre up, move metres right to
- Move metres up, move metre right to
The bell would ring by the time he gets there, making it impossible.
Sample Input 2
2 3 3 3 3
Sample Output 2
Explanation For Sample 2
This time, Wesley has enough time to make it before the bell rings, making the trip now possible.