Solves the test question for the clever internship