Given, $\Phi(n)$ = $2880$ & $\ n=3007 ,i.e, p*q=3007$
We know that $\Phi(n)$ = $\Phi (p*q)=\Phi (p)*\Phi (q)=(p-1)*(q-1)$
$=> 2880=(p-1)*(q-1)$
$=> 2880=p*q-p-q+1$
$=> 2880=3007-p-q+1$
$=> p+q=128$
Since $\large p , q$ are prime numbers in RSA algorithm, one of them can be $127, 113, 109, 107, 103, 101, 97,$.........
In exam hall,use calculator to divide 3007 with each of these numbers (starting from $127$ ) to find the prime factor. The whole process will take <3 minutes.
We will get the answer as $97$.