题目描述
Problem Description
Given the Chinese, Math, and English scores of a student, determine if he has exactly one subject failing (score less than 60 points). If the student has exactly one failing score, output 1; otherwise, output 0.
Input Format
A single line containing three integers between 0 and 100, representing the student's scores in Chinese, Math, and English, respectively.
Output Format
Output 1 if the student has exactly one failing score, otherwise output 0.
Sample Input and Output
Sample Input #1
59 60 61
Sample Output #1
1
Sample Input #2
59 50 59
Sample Output #2
0
Sample Input #3
100 100 90
Sample Output #3
0
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
59 60 61
样例输出
1