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: 'no plans only exams grinningsquintingfacegrinningsquintingfacegrinningsquintingface lol do we grinningsquintingfacegrinningsquintingface yeah grinningsquintingfacegrinningsquintingfacegrinningsquintingface'. Dialogue 2: 'yep m excited so are we b yep'.
Example Output: yes

Example Input: Dialogue 1: 'who guess guess i'm not paying'. Dialogue 2: 'nothing just chilling cool what about u'.
Example Output: yes

Example Input: Dialogue 1: 'yes very scary why so did you watch scary movie 5 yes i hate the movie'. Dialogue 2: 'actually sad why sad wearycatface i am going to my homeland with bus and'.
Example Output:
no