#B4117. Sum Check Problem
Sum Check Problem
Sum Check Problem
Given three positive integers \(A\), \(B\), and \(C\), check if their sum is less than or equal to \(21\). If it is, output \(1\); otherwise, output \(0\).
inputFormat
The input consists of three positive integers \(A\), \(B\), and \(C\) separated by spaces.
outputFormat
Output \(1\) if \(A+B+C \leq 21\), otherwise output \(0\).
sample
1 2 3
1