If there are 50 players in a tournament and Sarah is ranked 22nd from the top, how many players are ranked below her?

A. 28

E is ranked 8th from the top and 12th from the bottom in a competition. How many participants are there in total?

B. 20

If the code for 'CAT' is 3120, what is the code for 'DOG' if 'D' is 4, 'O' is 15, and 'G' is 7?

A. 4157

Teacher is to Classroom as Doctor is to ___?

A. HOSPITAL

If the input is '4 2 3 1', what is the output after sorting the numbers in ascending order?

A. 1 2 3 4