Take n elements into an array and print the odd numbers and even numbers
Constraints:
0 <= arr[i] <= 1000 ; 0<=i<=9
Input:
First line of input contains n, the number of elements in the input array
Take n elements into an array and print the odd numbers and even numbers
Take n elements into an array and print the odd numbers and even numbers