Am I good?

Can I get pregnant if like the tip of the penis rubbed on the outside of the vagina for like 30 secs and he was no where near ejaculation?