#P316. 【例54.1】 奇数单增序列
【例54.1】 奇数单增序列
Description
Given a sequence of positive integers of length (not exceeding ), where each integer's value does not exceed , please extract all odd numbers and output them in ascending order.
Input Format
Two lines:
Line 1 contains ;
Line 2 contains positive integers separated by spaces.
Output Format
The sequence of odd numbers in ascending order, with numbers separated by commas. It is guaranteed that there is at least one odd number.
Sample
10
1 3 2 6 5 4 9 8 7 101,3,5,7,9