Count the number of even and odd elements in an array of integers. Since you must return two counts, place them into an array of length 2. For example, if you are given the array
1, 4, 9, 16, 25
you return the array with elements
since there were two even and three odd elements.