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: 'secret don't keep a secret please why are you sad  snd me ur picture'. Dialogue 2: 'so how i work if i remove my brain u dont remove the hairleave it alone grinningfacewithsmilingeyes'.
Example Output: no

Example Input: Dialogue 1: 'i got fever  and the only cure what'. Dialogue 2: 'hey hi heyy i m having a great pain in head'.
Example Output: no

Example Input: Dialogue 1: 'ha hathis is very cheap for your song yea 'priceless' p i am ready to give myself for ur lovely song'. Dialogue 2: 'ask your developer to do the needful please do the needful have to be extra nice what's your real name by the way'.
Example Output:
yes