@@ -0,0 +1,490 @@
+public int wiseGuys(int%5B%5D ages) %7B %0A%0A    ArrayList%3CInteger%3E agesList = new ArrayList%3CInteger%3E();%0A    for (int i=0; i%3Cages.length; i++)%0A    %7B%0A       agesList.add(ages%5Bi%5D);%0A    %7D%0A%0A    return wiseGuysB(agesList);%0A    %0A%7D%0A%0Apublic int wiseGuysB(ArrayList%3CInteger%3E agesList) %7B%0A  int greatestAge = 0;%0A  for (int i = 0; i %3C agesList.size(); i += 2) %7B%0A    int combinedAge = agesList.get(i) + agesList.get(i+1);%0A    if (combinedAge %3E greatestAge) greatestAge = combinedAge;%0A  %7D%0A  return greatestAge;%0A%7D%0A

Create wiseGuys.java