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: 'what ur profession has nothing to do with what i studied what studied'. Dialogue 2: 'i am going to study i'm all with you don't disturb me'.
Example Output: no

Example Input: Dialogue 1: 'it's sorry stupid thanks s am i doing this right s grinningfacewithbigeyes my apologies'. Dialogue 2: 'i am happy that makes me happy  ok friend s'.
Example Output: no

Example Input: Dialogue 1: 'yes how so do u know prabhas'. Dialogue 2: 'babe which movie you'd like to watch i don't think movies are good for a first date ok so i'll take her to dinner'.
Example Output:
yes