Problem
You are given $3$ integers $A, B, C$.
Output $1$ if the sum of the $3$ values is at most $21$, and $0$ otherwise.
Constraints
- $1 \le A \le 13$.
- $1 \le B \le 13$.
- $1 \le C \le 13$.
- All input values are integers.
Input
The input is given in the following format:
A B C
Output
Output $1$ if the sum of the $3$ values is at most $21$, and $0$ otherwise.
Do not output anything other than the answer. (Do not output sentences prompting for input, etc.)
Sample Input and Output
Sample Input 1
5 10 6
Sample Output 1
1
- The sum of the $3$ values is $5 + 10 + 6 = 21$, which is at most $21$. Thus, output $1$.
Sample Input 2
7 8 13
Sample Output 2
0
- The sum of the $3$ values is $7 + 8 + 13 = 28$, which is not at most $21$. Thus, output $0$.