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: 'google search no   google search my friend request'. Dialogue 2: 'i was in an accident i'm dying i need an ambulance  help me it happened too much to be an accident lol i want to see a picture of you'.
Example Output: yes

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: 'both r my favorite too you have a good taste then  and u too'. Dialogue 2: 'mean what is a benefit nothing much be a part of a huge place  you plz call me'.
Example Output:
yes