2565: 游戏任务
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Normal Judger
Creator:
Submit:48
Solved:28
Description
小明接受了一个游戏任务,在20分钟内从A地到B地!途中会出现3个难题,要求小明用最快的时间解答出来?请编程求小明能不能完成任务,能的输出‘YES’不能的输出‘NO’。
Input
同一行输入 c,s,a1,a2,a3五个数。
( c代表A、B两地的距离,s代表小明的速度,a1,a2,a3代表解答问题的时间!)
Output
一行,能的输出‘YES’不能的输出‘NO’
Sample Input Copy
10 2 3 4 5
Sample Output Copy
YES