@@ -0,0 +1,247 @@
+public int productOfInts(int%5B%5D nums) %7B%0A  int product = nums%5B0%5D;%0A  int lastcounted = nums%5B0%5D;%0A  for (int i = 1; i %3C nums.length; i++)%0A    if (nums%5Bi%5D %3E lastcounted) %7B%0A      product *= nums%5Bi%5D;%0A      lastcounted = nums%5Bi%5D;%0A    %7D%0A  return product;%0A%7D%0A

Create productOfInts.java