1.Consider the following three threads in a concurrent program that uses semaphores Sem1, Sem2, and Sem3.What are the initial values that can be given to the semaphores so that the threads cooperate to print a string that begins with 162162162162162?¶
2.Consider the following three threads in a concurrent program that uses semaphores Sem1, Sem2, and Sem3.What are the initial values that can be given to the semaphores so that the threads cooperate to print a string that begins with 621621621621621?¶