int main()
{
        int jobs = 41, tid;
        omp_set_num_threads(5);

        
        {
                tid = omp_get_thread_num();
                while (jobs > 0) {
                        
                        
                        if (!jobs) break;

                        printf(, tid, jobs--);
                        usleep(100000 + rand() / (double) RAND_MAX * 3000000);
                        printf(, tid);
                }

                printf(, tid);

                
                
        }

        return 0;
}