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