An algorithm to predict pregnancy in assisted conception