Question 1
Input: 37 bat apple 12 cat fox 19
Step 1: Check condition for each element
Step 2: Elements satisfying condition:
Step 3: Rearranged output: bat apple cat fox 37 12 19
What is the final output?
Final output after conditional rearrangement: bat apple cat fox 37 12 19