Find all 4-digit numbers nnn , such that n=pqrn=pqrn=pqr , where p<q<rp<q<rp<q<r are distinct primes, such that p+q=r−qp+q=r-qp+q=r−q and p+q+r=s2p+q+r=s^2p+q+r=s2 , where sss is a prime number.