Find the Number of Ways to Place People I | Leetcode 3025