Add solution to 8: 40824