Yet Another Easy Permutation Count Problem

HDU - 7200