mmn

algorithm