@JoséCarlosSantos I'm not sure why you
reopened this. It's true that the text of the question contains a condition (iv) which is in truth not covered in the duplicate, but the user indicates they are not asking about (iv). Anyhow I went ahead and posted an answer with links to the duplicates covering the question the user is asking.