CF842A Kirill And The Game
Description
Kirill plays a new computer game. He came to the potion store where he can buy any potion. Each potion is characterized by two integers — amount of experience and cost. The efficiency of a potion is the ratio of the amount of experience to the cost. Efficiency may be a non-integer number.
For each two integer numbers $ a $ and $ b $ such that $ l
Input Format
First string contains five integer numbers $ l $ , $ r $ , $ x $ , $ y $ , $ k $ ( $ 1
Output Format
Print "YES" without quotes if a potion with efficiency exactly $ k $ can be bought in the store and "NO" without quotes otherwise.
You can output each of the letters in any register.