I know that $\varphi(p)=p-1$, so it rules out the primes. I then tried to consider all powers of primes. It then turn out that only $2^2=4$ works
If $$ n = pq\\ \varphi(n)=(p-1)(q-1)=pq-p-q+q=n-p-q+1\\ \rightarrow 1-p-q=-2 $$ which would't work since we want n to be positive I'm pretty stuck from here. I also tried to reason that $\varphi(n)=n\prod (1-\frac{1}{p_i})$ but couldn't get anywhere.
Thanks in advance for any help.