文件目录

#include <bits/stdc++.h>
using namespace std;
int n, a;
vector<int> v;
int main()
{
    cin >> n;
    while (n--)
    {
        cin >> a;
        if (a % 2)
            v.push_back(a);
    }
    sort(v.begin(), v.end());
    cout << v[0];
    for (int i = 1; i < v.size(); i++)
    {
        cout << ',' << v[i];
    }
    return 0;
}