Option to select a range and fixed values

Im currently designing the UI for a event tool.

When the user is creating an event he has the option to select the amount of people needed for this event.

He should be able to define a range (e.g. "i need between 5 and 8 people") and fixed values like "i need a minimum of 4 people", "i need a maximum of 8 people"

Im not sure whats the best way to display this so the users is not getting completely confused what to select.

Any recommendations?