int proper_divisors(const int n, bool print_flag)
{
    int count = 0;

    for (int i = 1; i < n; ++i) {
        if (n % i == 0) {
            count++;
            if (print_flag)
                printf(, i);
        }
    }

    if (print_flag)
        printf();

    return count;
}

int main(void)
{
    for (int i = 1; i <= 10; ++i) {
        printf(, i);
        proper_divisors(i, true);
    }

    int max = 0;
    int max_i = 1;

    for (int i = 1; i <= 20000; ++i) {
        int v = proper_divisors(i, false);
        if (v >= max) {
            max = v;
            max_i = i;
        }
    }

    printf(, max_i, max);
    return 0;
}