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: 'smilingface you can make my day by only 1 reply smilingfacewithsmilingeyes i'm always in'. Dialogue 2: 'oh ok wanna go fr a ride  i'm at work cryingfacecryingfacecryingface'.
Example Output: no

Example Input: Dialogue 1: 'wait i try  looks at you  that was too bad'. Dialogue 2: 'i am in trouble why how's the date i am alone'.
Example Output: yes

Example Input: Dialogue 1: 'how can u eat through my nostrils running nosefacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoy'. Dialogue 2: 'hey please help me sorry i cannot follow you i am feeling sad'.
Example Output:
no