A, B, C, D, and E are five students who scored the following marks: A scored more than B but less than C. D scored less than E but more than A. Who scored the least?
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: Remove the first word. What is the final output?