Apples and Oranges Codechef Today Solution in Python
Bob has rupees and goes to a market. The cost of apples is Rs. per kg and the cost of oranges is Rs. per kg.
Determine whether he can buy at least kg each of apples and oranges.
Input Format
- The first line of input will contain an integer , the amount of money Bob has.
- The second line of input contains two space-separated integers and , the cost per kg of apples and oranges respectively.
Output Format
Print a single line containing Yes
if Bob can buy the fruits and No
otherwise.
You may print each character of the string in uppercase or lowercase (for example, the strings yes
, Yes
, yEs
, and YES
will all be treated as identical).
Apples and Oranges Codechef Today Solution in Python
Code
0 Comments