CF1186A.Vus the Cossack and a Contest

普及/提高-

通过率:0%

AC君温馨提醒

该题目为【codeforces】题库的题目,您提交的代码将被提交至codeforces进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。

题目描述

Vus the Cossack holds a programming competition, in which nn people participate. He decided to award them all with pens and notebooks. It is known that Vus has exactly mm pens and kk notebooks.

Determine whether the Cossack can reward all participants, giving each of them at least one pen and at least one notebook.

输入格式

The first line contains three integers nn , mm , and kk ( 1n,m,k1001 \leq n, m, k \leq 100 ) — the number of participants, the number of pens, and the number of notebooks respectively.

输出格式

Print "Yes" if it possible to reward all the participants. Otherwise, print "No".

You can print each letter in any case (upper or lower).

输入输出样例

  • 输入#1

    5 8 6
    

    输出#1

    Yes
    
  • 输入#2

    3 9 3
    

    输出#2

    Yes
    
  • 输入#3

    8 5 20
    

    输出#3

    No
    

说明/提示

In the first example, there are 55 participants. The Cossack has 88 pens and 66 notebooks. Therefore, he has enough pens and notebooks.

In the second example, there are 33 participants. The Cossack has 99 pens and 33 notebooks. He has more than enough pens but only the minimum needed number of notebooks.

In the third example, there are 88 participants but only 55 pens. Since the Cossack does not have enough pens, the answer is "No".

首页