結果 : python if else hackerrank solution