結果 : identify smith numbers hackerrank solution python