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: 'okay hey you don't belong here i am here'. Dialogue 2: 'grow grow my bangs or grow up help the poor'.
Example Output: yes

Example Input: Dialogue 1: 'friend hey which place india'. Dialogue 2: 'i am not in a funny mood that's good how is that good'.
Example Output: yes

Example Input: Dialogue 1: 'i don't know okk u win what you wanttttttttt  job offer from microsoft'. Dialogue 2: 'lol yah ey lol  heya  how's you  d am good and u'.
Example Output:
no