@@ -0,0 +1,800 @@
+import java.util.*;%0A%0Apublic class RemoveNegativesAndReverse %7B%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A        String%5B%5D input = scanner.nextLine().split(%22 %22);%0A        List%3CInteger%3E integerList = new ArrayList%3C%3E();%0A%0A        for (String anInput : input) %7B%0A            integerList.add(Integer.parseInt(anInput));%0A        %7D%0A%0A        List%3CInteger%3E result = new ArrayList%3C%3E();%0A%0A        for (Integer anIntegerList : integerList) %7B%0A            if (anIntegerList %3E= 0) %7B%0A                result.add(anIntegerList);%0A            %7D%0A        %7D%0A%0A        Collections.reverse(result);%0A%0A        if (result.size() == 0) %7B%0A            System.out.println(%22empty%22);%0A        %7D%0A        else %7B%0A            result.forEach(e -%3E System.out.print(e + %22 %22));%0A        %7D%0A    %7D%0A%7D%0A

Create 10.RemoveNegativesAndReverse.java