結果 : closest numbers hackerrank solution in python