There is an error in solve template: assert checkio(9999) == 171, 'Fourth'
Should be: assert checkio(9999) == 117, 'Fourth' (in code Examples all tests are correct)