Please complete the following challenge and submit your response in a gist.
Write your code with the following priorities in mind, in order from most to least important:
- Correctness and completeness
- Clarity and readability
- Conciseness and performance
Without further ado: