Ten candidates have to complete assignments to earn money. However, one of the group members is the Mole. The Mole’s goal is to make the assignments fail and keep the…