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: 'lol what if i says free wififacewithtearsofjoythey what would be your answer laughing in silence okaygrinningsquintingface'. Dialogue 2: 'yes or no maybe wow'.
Example Output: yes

Example Input: Dialogue 1: 'dress stay tuned try this dress'. Dialogue 2: 'where over there why r u making fool'.
Example Output: yes

Example Input: Dialogue 1: 'so do you have any idea how it work not with ctrl f and select them all at once which tech you used'. Dialogue 2: 'ba third year lol i have already finished with the third year yes'.
Example Output:
yes