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: 'friend hey which place india'. Dialogue 2: 'i am not in a funny mood that's good how is that good'.

Output: yes


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: 'like learning new language neither spanish how many languages do you know'. Dialogue 2: 'you made it funny so funny i forgot to laugh d '.


Output: no