結果 : picking numbers hackerrank solution in python