Solution 29
Solution 30
Solution 31
List comprehension instead of map