#t267. 奇数单增序列

奇数单增序列

Odd Numbers in Increasing Order

Problem Background

Special for beginners, ^_^

Problem Description

Given a sequence of positive integers of length NN (not greater than 500500), take out all the odd numbers and output them in increasing order.

Input Format

The first line is NN.

The second line contains NN positive integers separated by spaces.

Output Format

Output the odd numbers in increasing order, separated by commas. It is guaranteed that there is at least one odd number.

Sample Input

10
1 3 2 6 5 4 9 8 7 10

Sample Output

1,3,5,7,9

Constraints

Time limit: 1s, memory limit: 1024KiB for each test case.