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: 'girlfriend plz i don't get you do you want a girlfriend or a good friend i want a girlfriend cryingface'. Dialogue 2: 'nice to see uh  its always nice to hear from u too grinningface'.
Example Output: no

Example Input: Dialogue 1: 'i've never had a girlfriend and i fear i won't ever have one why not i'm an ugly fuck and scared of rejection'. Dialogue 2: 'oh very nice do you know it grinningfacewithbigeyesgrinningfacewithbigeyesgrinningfacewithbigeyesgrinningfacewithbigeyesgrinningfacewithbigeyesgrinningfacewithbigeyes'.
Example Output: no

Example Input: Dialogue 1: 'my friend replied you have friends  yes'. Dialogue 2: 'no i said i will be nice to you you know i was kidding you facewithtearsofjoysmilingfacewithsunglasses'.
Example Output:
yes