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: 'don't know 'you're weird not more than  you stupid '. Dialogue 2: 'oh yeah i know but i have a great plan for sunday smilingfacewithhearteyes yeahh  heartsuit slightlysmilingface'.
Example Output: no

Example Input: Dialogue 1: 'stop irritating me hahahso that annoys u eh please go off'. Dialogue 2: 'going to sleep goodnight good night'.
Example Output: no

Example Input: Dialogue 1: 'give me that one give me the other i don't have any'. Dialogue 2: 'thinkingfacethinkingfacewhat what are you thinking man what i know'.
Example Output:
yes