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'.

Input: Consider Input: Dialogue 1: 'smilingface you can make my day by only 1 reply smilingfacewithsmilingeyes i'm always in'. Dialogue 2: 'oh ok wanna go fr a ride  i'm at work cryingfacecryingfacecryingface'.

Output: no


Input: Consider Input: Dialogue 1: 'send me link download the app of game'. Dialogue 2: 'you meet many bad boys in a day two times a day when'.

Output: yes


Input: Consider Input: Dialogue 1: 'pensivefacebrokenheart don't make my fun i really do wish i could have that problem pensivefacebrokenheart'. Dialogue 2: 'what i can't be bothered to finish this sentence ok dr'.


Output: no