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

A. APPLE CAT DOG

Given the input 'cat dog apple banana', what is the output after the following steps: Step 1: Rearrange to 'banana apple cat dog'. Step 2: Rearrange to 'dog banana apple cat'. What is the output after Step 2?

C. DOG BANANA APPLE CAT

Input: '5 3 8 1'. Step 1: Rearrange to '1 3 5 8'. Step 2: Rearrange to '8 5 3 1'. What is the output after Step 2?

C. 8 5 3 1

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

C. BLUE YELLOW RED GREEN

Given the input '5 4 6 1', what is the output after rearranging the numbers in descending order?

A. 6 5 4 1