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