int main()
{
        int data[] = {12757923, 12878611, 12878893, 12757923, 15808973, 15780709, 197622519};
        int largest, largest_factor = 0;

        omp_set_num_threads(4);
        
        
        for (int i = 0; i < 7; i++) {
                int p, n = data[i];

                for (p = 3; p * p <= n && n % p; p += 2);
                if (p * p > n) p = n;
                if (p > largest_factor) {
                        largest_factor = p;
                        largest = n;
                        printf(,
                                omp_get_thread_num(), p, n);
                } else {
                        printf(,
                                omp_get_thread_num(), p, n);
                }
        }

        printf(, largest_factor, largest);
        return 0;
}