You want to prove a theorem: In any group of 30 people, there must be at least five people who were all born on the same day of the week. Rewrite it…