If the input is 'sun moon star', what will be the output after the rearrangement steps?

D. MOON SUN STAR

Input: 'red blue green yellow'. Step 1: Rearrange to 'yellow green blue red'. Step 2: Remove the second word. What is the output?

A. YELLOW BLUE RED

Input: '5 7 3 9'. Step 1: Rearrange to '9 7 5 3'. Step 2: Remove the first two numbers. What is the output?

A. 5 3

Given the input 'cat dog apple', which of the following is the correct output after rearrangement?

A. APPLE CAT DOG

Input: '1 2 3 4 5'. If the rearrangement steps are to move the last number to the front, what will be the output?

A. 5 1 2 3 4