Each server has their own ingredients in an infinite supply). Additionally, there are three shared
For this problem you must use Java’s semaphore class. Your implementation for this problem must only use the semaphore methods to control the concurrency of your solution (IE. acquire and…