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: 'i am really sorry yaar its wokayy really yaar really sorry'. Dialogue 2: 'i lost my life getting married not at all'.
Example Output: yes

Example Input: Dialogue 1: 'not well well why not been a bit under he weather'. Dialogue 2: 'wh oh i felt like a change where do you live'.
Example Output: no

Example Input: Dialogue 1: 'hmm means ok ok cool'. Dialogue 2: 'did he said he loves u you made this how many members do u love'.
Example Output:
yes