Chocolate Bar
Time limit2sMemory limit1024 MB
Given N coins of 100 won each, the task is to check whether the total value is at least the price M and print Yes or No.
- Level
Easy1 of 10
- Topics
- Math, Implementation
- Solved
- No attempts yet
Problem
Bamgo has coins worth 100 won each and wants to use them to buy a chocolate bar priced at won. Bamgo wants to know whether the money on hand can buy the chocolate bar. If the money Bamgo has is at least the price of the chocolate bar, Bamgo can buy it. Determine whether the money is enough.
Input
The first line contains two integers and , separated by a space. (, )
Output
If Bamgo can buy the chocolate bar, print Yes. Otherwise, print No.