#B2044. Determine if Exactly One Subject Fails

    ID: 11126 Type: Default 1000ms 256MiB

Determine if Exactly One Subject Fails

Determine if Exactly One Subject Fails

Given a student's scores in Chinese, Mathematics, and English, determine if exactly one subject has a failing score (i.e., a score less than \(60\)). If exactly one subject fails, output \(1\); otherwise, output \(0\).

inputFormat

The input consists of three integer values separated by spaces, representing the scores in Chinese, Mathematics, and English respectively.

outputFormat

Output \(1\) if exactly one subject has a score less than \(60\), otherwise output \(0\).

sample

59 60 60
1