Solution 5: fix typo
Solution 6: solve the rest of the assignments