No.2919 Welcome to The Below Green Contenst
タグ : / 解いたユーザー数 237
作問者 :
kusirakusira
/ テスター :
👑
tnodino
mymelochan
Problem Statement
The 3rd Below Green Contest will be held in a classroom on the Aoyama Campus of Aoyama Gakuin University.
This classroom can accommodate at most $N$ people, and this contest will be attended by $M$ participants and $K$ staff members.
Determine whether it is possible to accommodate everyone in the classroom.
Constraints
- $1 \le N,M,K \le 10^9$
- All inputs are integers.
Input
The input is given from standard input in the following format.
$N\ M\ K$
Output
Print Yes if all attendees can be accommodated in the classroom, and No otherwise.
Sample
Sample 1
Input
100 70 10
Output
Yes
There are $80( = 70 + 10)$ attendees in total. The capacity of the classroom is $100$ people, so everyone can be accommodated.
Sample 2
Input
16 12 4
Output
Yes
Note that accommodation is possible even when the total number of attendees equals the capacity.
Sample 3
Input
1000 100000 10000
Output
No
The contest is hugely popular, but sadly, not everyone can be accommodated.
Sample 4
Input
10 29 20
Output
No
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。