Example Input 6 2 3 1 1 4 2 Output Yes Yes Yes No Yes No
- User
Example Input
6 2 3 1 1 4 2
Output
Yes Yes Yes No Yes No
Assistant
n = int(input()) for _ in range(n): sticks = list(map(int, input().split())) sticks.sort() if (sticks[0] == sticks[1] and sticks[2] == sticks[3]): print("Yes") else: print("No")
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.