solved problem 16 with python