Determining the father

Patient: My lmp was on oct 15th. i had sex with my childrens father onn the week of oct 16th-21st(always unprotected). then onn oct 26th and 29th i sleep with a friend without protection but he pulled out. i was scheduled to start my period on oct 11th and didn’t. i also had sex with my cf on oct 9th. i have went to the doctor and found out that i am pregnant. who is the childs father?