Write a program to read a positive interger $n$ and a sequence of $n$ positive intergers, then print the sequence in $2$ lines. The first line is for odd numbers, and the second line is for even numbers.
$n$ is no more than $1000$.
There are two lines in the input. The first line has the integer $n$. The second line has the $n$ positive inetgers.
There are two lines in the output, according to the description.
3 6 7 9 20
3 7 9
- 若在行尾輸出 多餘的空白字元，你將會得到 Wrong Answer