#T604. 有一门课不及格的学生
有一门课不及格的学生
Description
Given a student's scores in Chinese and Mathematics, determine whether exactly one of the subjects is failed (score less than 60). If the student has exactly one failed subject, output 1; otherwise, output 0.
Input Format
One line containing two integers between 0 and 100, representing the student's Chinese score and Mathematics score, respectively.
Output Format
If the student has exactly one failed subject, output 1; otherwise, output 0.
50 80
1
Source
CodesOnline