Codewars Practice Kata 30