title: How to find the product of the odd-indexed values in a list
body: <p>I am able to solve this problem up the the 'even' part but I'm getting stuck in the odd part.</p>
  
  <p>You will be given an array of <code>n</code> numbers. Your task is to first reverse the array (first number becomes last, 2nd number becomes 2nd from the last and so on) and then print the sum of the numbers at even indices and print the product of the numbers at odd indices.</p>
  
  <p>Input</p>
  
  <p>First line contains single integer N: number of elements
  followed by N different integers separated by spaces</p>
  
  <p>Output</p>
  
  <p>Two space separated integers representing sum of the numbers at even places and the product of the numbers at odd places.</p>
  
  <p>My code so far:</p>
  
  <pre class="lang-py prettyprint-override"><code>n = int(input())
  arr = [int(x) for x in input().split()]
  arr.reverse()
  
  for ele in arr:
      print(ele, end=" ")
  print()
  
  sum = 0
  count = 1
  while count &lt;= n:
      if count % 2 == 0:
          sum += count
      count += 1
  print(sum)
  </code></pre>