basta 1 sola if, dato che le condizioni da rispettare sono 2.