Question 1
Input: 73 earth venus 67 91 mars
Step 1: Separate → Words: earth venus mars, Numbers: 73 67 91
Step 2: Sort numbers ascending → 67 73 91
Step 3: Sort words by length (then alphabetically) → mars earth venus
Step 4: Alternate (word, number, word, number...) → mars 67 earth 73 venus 91
What is the final output?
Words sorted by length (shortest first, alphabetically for ties), numbers sorted ascending, then alternated: mars 67 earth 73 venus 91