Overcoming negativity

I work in a very small environment where I have to be in a certain place and can’t just leave and work elsewhere. I work with people who are constantly talking negatively to me.

I can manage my own mind, but it’s very hard when they are talking to me negatively all day, and they expect a response from me. If I don’t respond, they repeat themselves. I don’t want to be rude to them, but they drive me crazy.

I’ve tried having the thought, “this is just how they vent,” but it exhausts me having to manage my mind around them constantly. Any suggestions?