Choose_M_from_N