In this task you will be given two dialogues. You need to determine if both dialogues have the same underlying emotion. The possible emotions are happy, sad, angry, or other. If they do output 'yes', if not output 'no'.

Example Input: Dialogue 1: 'how's life in wherever you're from life's good you should come and visit some time  and where should i visit'. Dialogue 2: 'why you think so because you keep stopping to chat haha'.
Example Output: no

Example Input: Dialogue 1: 'ok here we go again suck my dick'. Dialogue 2: 'no i failed so what it's one test and everyone failed it i failed in 5 subjects in exam'.
Example Output: no

Example Input: Dialogue 1: 'can i ask you something sure ask away i have girlfriend and she is fucking up my grades my life idk how to handle shit'. Dialogue 2: 'nope its only u yeah you're right guys stupid'.
Example Output:
yes