how to solve permutation and combination

join shbcf.ru