output the search result

need to reverse the final integer