Two processes P1 and P2 need files F1, F2, and F3 in an exclusive manner. At time T-0, all files are available. Semaphores are used to get access to the files. Show one example code (or a sequence of wait() and signal() statements) for P1 and P2 that works correctly; and another where it could result in a deadlock between P1 and P2.