結果 : java if-else hackerrank solution github