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: 'that i am smarter than you i know where do you live'. Dialogue 2: 'i don't knowgrinningfacewithsweatgrinningfacewithsweat so says the dinosaur grinningfacewithsweat dinosaur'.
Example Output: yes

Example Input: Dialogue 1: 'you make me upset and sad i make me sad but it's the truth disappointedface i am leaving you'. Dialogue 2: 'i'm so no shhhh you're the best grinningface'.
Example Output: no

Example Input: Dialogue 1: 'k thank you xd you are dumb'. Dialogue 2: 'bad joke not a joke thumbsdown can we have sex'.
Example Output:
no