who do u think is the father ?

so i had sex with my boyfriend on my period & we didn't use a condom & he butted in me . then i had sex with my "friend" later on that month & we used a condom but the condom came off inside of me and had to finger it out so some sperm should have came out . i'm just guessing & then a couple weeks after that i found out i was pregnant . who do you think the father would be ? my boyfriend or the "friend"