Searching by capacity

We have a marketplace platform that allows for people to find a venue for a private event. One big piece of this is searching by the number of guests you will have at your event and comparing it against the capacity on our venues. Each venue has a minimum capacity and maximum so i want a way for users to search “50 guests” and then it filters based on what venues have a minimum capacity less then 50 and a maximum greater then 50