Parsons problem from Craig'n'Dave

Voting count

Drag the code statements putting them into the correct order in the solution area. Select Get feedback when you have finished. If the solution area turns green, it's correct.
Remember to use correct indenting after def, if, match, case, while and for statements.

Write the case statements for the ballots in the following order: A, B, C, D.