結果 : print in reverse hackerrank solution