Chances of pregnancy

I've always had a 31 day cycle. Not sure where that puts me in ovulation. So i had unprotected sex on day 9 of my cycle with one guy and then unprotected sex with another guy on day 17. Which am I pregnant by? On glow when I logged that I had sex on day 17 it told me you've had sex on your peak ovulation day, so is that the day I got pregnant?