#CCBCMCHIN0000020. Điểm đạt có điều kiện kép (Pass with Two Scores)
Điểm đạt có điều kiện kép (Pass with Two Scores)
Pass with Two Scores
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
A student has integer scores between 0 and 10. The student passes only when both scores are at least 5.
Input
One line with two integer scores .
Output
Print PASS if both meet the threshold; otherwise print FAIL.
Subtasks
- Subtask 1 (20 points): .
- Subtask 2 (30 points): .
- Subtask 3 (50 points): .
Examples
Example 1
Input
5 4
Output
FAIL
Explanation
The input gives 5, 4. Check each score separately: 5 >= 5 is True; 4 >= 5 is False. Therefore the required output is ['FAIL'].
Example 2
Input
5 5
Output
PASS
Explanation
The input gives 5, 5. Check each score separately: 5 >= 5 is True; 5 >= 5 is True. Therefore the required output is ['PASS'].