@@ -0,0 +1,482 @@
+public int fairlyOddNums(int%5B%5D nums) %7B %0A%0A    ArrayList%3CInteger%3E numsList = new ArrayList%3CInteger%3E();%0A    for (int i=0; i%3Cnums.length; i++)%0A    %7B%0A       numsList.add(nums%5Bi%5D);%0A    %7D%0A    %0A    return fairlyOddNumsB(numsList);%0A%7D%0A%0Apublic int fairlyOddNumsB(ArrayList%3CInteger%3E numsList) %7B%0A  int sum = 0;%0A  for (int i = 0; i %3C numsList.size(); i++)%0A    if ((i %25 2 == 0 && numsList.get(i) %25 2 == 1) %7C%7C (i %25 2 == 1 && numsList.get(i) %25 2 == 0))%0A      sum += numsList.get(i);%0A  return sum;%0A%7D%0A

Create fairlyOddNums.java