have three variable you will be updating: counter, oddTotal and evenTotal
Set them all @ zero.
first ask the user how many inputs .... that will be your counter for the loop.
then you get the first input, this will be taken in as a String so remember to convert to an Integer
Once you convert you check if it is odd or even by dividing by two and checking if it is zero
if (input/2 ==0)
if it is odd then
oddTotal = oddTotal + input;
if it is even then
evenTotal = evenTotal + input;
After that you just output the results
Hope that helps!