Let's analyze the condition in the program: if (s > -3) and (t > 2). The program outputs "YES" if this condition is true, and "NO" otherwise.
We need to find the pairs (s, t) for which the condition (s > -3) and (t > 2) is FALSE. This means either s <= -3 OR t <= 2 (or both).
Let's check each pair:
- 1) (5, 8): Here, s = 5 and t = 8.
- Is s > -3? Yes, 5 > -3.
- Is t > 2? Yes, 8 > 2.
- Since both conditions are true, (s > -3) AND (t > 2) is TRUE. The program will output "YES".
- 2) (-5, 8): Here, s = -5 and t = 8.
- Is s > -3? No, -5 is NOT greater than -3.
- Is t > 2? Yes, 8 > 2.
- Since the first condition (s > -3) is false, the entire AND condition is FALSE. The program will output "NO".
- 3) (3, -11): Here, s = 3 and t = -11.
- Is s > -3? Yes, 3 > -3.
- Is t > 2? No, -11 is NOT greater than 2.
- Since the second condition (t > 2) is false, the entire AND condition is FALSE. The program will output "NO".
- 4) (-4, 0): Here, s = -4 and t = 0.
- Is s > -3? No, -4 is NOT greater than -3.
- Is t > 2? No, 0 is NOT greater than 2.
- Since both conditions are false, the entire AND condition is FALSE. The program will output "NO".
- 5) (-3, 2): Here, s = -3 and t = 2.
- Is s > -3? No, -3 is NOT greater than -3.
- Is t > 2? No, 2 is NOT greater than 2.
- Since both conditions are false, the entire AND condition is FALSE. The program will output "NO".
The pairs for which the program will output "NO" are: 2, 3, 4, 5.
We need to write the numbers of the selected pairs in ascending order.
Ответ: 2, 3, 4, 5