There are N men in the room. Every man has a hat. Someone comes and takes all the hats and shuffle them in the middle of the room, than gives every man a hat. The experiment is repeated M times.
Question: how many men in average will receive their hats?
Hint: even if you don't know the relevant material, you still will be able to solve this riddle. How? See rule.