when older guys hit on me I’m torn between being being really defensive about everything and being really happy about everything

At work there’s two people who can’t stand each other and instead of keeping it inside they both like to complain to me about the other and I just sit there awkwardly nodding bc how am I supposed to respond to both of them idk