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: 'phone whatsapp  what happened  slightlyfrowningface photo '. Dialogue 2: 'whats are doing nothing u i am in institute'.
Example Output: yes

Example Input: Dialogue 1: 'ok hello how are you not good '. Dialogue 2: 'yea come hom ur high go to bed i wanna fuck u hard'.
Example Output: no

Example Input: Dialogue 1: 'like what like playing video games no not reallyim more of painting reading books studying'. Dialogue 2: 'yeah but a sad story and he was a friend wait what happened on of my friend passed away this morning and nobody told me loudlycryingfacewearyface'.
Example Output:
no