title: How to get odd and even value from new int C#
body: <p>Hello that is my homework from the course for begginers, and I have no idea how to take the first input i than the second, not the numbers typed but the simple i. e.g.</p>
  
  <p>2
    3
  4 
    4
  3
    1</p>
  
  <p>I want to separate them somehow. But with this code it only takes :</p>
  
  <p>1
  1
    2
  3
    4
    4etc..
  And the source.</p>
  
  <pre><code> Console.Write("Enter number of the numbers: ");
          int a = int.Parse(Console.ReadLine());
          int[] numbers = new int[a];
          int even = 1;
          int odd = 1;
          for (int i = 0; i &lt; a; i++)
          {
              numbers[i] = int.Parse(Console.ReadLine());
              if (numbers[i] % 2 == 0)
              {
                  even *= numbers[i];
              }
              else if (numbers[i] % 2 !=0)
              {
                  odd *= numbers[i];
              }
  
          }
          Console.WriteLine(odd);
          Console.WriteLine(even);
  </code></pre>