Fruits
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 256 megabytes
Anatoliy has apples and pears, while Borys has apples and pears. They want to distribute these fruits to children. Each child desires apples and pears. Determine if Anatoliy and Borys can distribute the apples and pears so that each child receives the desired amount.
Input
The first line contains seven integers: , , , , , , ().
Output
Print "Yes" if Anatoliy and Borys can fulfill the children's requests, or "No" if they cannot.
You may print the answer in any case.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 2K
Acceptance rate 39%