#P129. 【例22.1】 有一门课不及格的学生
【例22.1】 有一门课不及格的学生
Description
Given a student's Chinese and Math scores, determine whether the student has exactly one failing grade (a score less than 60). If the student has exactly one failing grade, output 1; otherwise, output 0.
Input Format
A single line containing two integers between 0 and 100, representing the student's Chinese and Math scores.
Output Format
If the student has exactly one failing grade, output 1; otherwise, output 0.
Sample
50 801