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: ' an ai system is replying me it is just algorithm that searches for and presents results as you say i'm awesome '. Dialogue 2: 'you are so irritating tell me about it you are distributing me'.
Example Output: yes

Example Input: Dialogue 1: 'pigface your face youu pig'. Dialogue 2: 'hi yet u fyi hi plz share correct number she hi h'.
Example Output: yes

Example Input: Dialogue 1: 'tell me love u too but i love you more really'. Dialogue 2: 'i need rest we all need rest seriously'.
Example Output:
yes