#CCBCMCHIN0000030. Xếp hạng hai điều kiện (Two-Condition Classification)
Xếp hạng hai điều kiện (Two-Condition Classification)
Two-Condition Classification
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
A student has two integer scores and . A subject is passed if its score is at least . Print BOTH if both are passed, ONE if exactly one is passed, or NONE if neither is passed.
Input
Two integer scores and on one line.
Output
Print exactly one of BOTH, ONE, or NONE.
Subtasks
- Subtask 1 (20 points): .
- Subtask 2 (30 points): .
- Subtask 3 (50 points): .
Examples
Input
5 4
Output
ONE
Explanation
Score meets the threshold and score does not. Exactly one subject is passed, so print ONE.