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: 'nope no one asked you going through a bad phase'. Dialogue 2: 'a very bad indeed as bad as it gets and we broke up'.
Example Output: yes

Example Input: Dialogue 1: 'ok aunty ji thank you ji  sleep tight'. Dialogue 2: 'nothing much nothing what about you '.
Example Output: yes

Example Input: Dialogue 1: 'no my name what is it do u no whom ur chatting with'. Dialogue 2: 'where i move this side of town lol which side of town'.
Example Output:
yes