Write Java Program To Reverse An Integer Leetcode Python