#T226. 奇数单增序列

奇数单增序列

Description

Given a sequence of positive integers of length N (not exceeding 500), extract all the odd numbers and output them in ascending order.

Input Format

The first line contains N;
The second line contains N positive integers separated by spaces.

Output Format

The sequence of odd numbers output in ascending order, separated by commas. It is guaranteed that there is at least one odd number.

10
1 3 2 6 5 4 9 8 7 10


1,3,5,7,9