You have planned a trip with your friends. All of you have decided to share responsibilities to make the trip…