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: 'i don't live in heaven i am alive tell me all about it would you like to come to my home'. Dialogue 2: 'what do you wanna talk about about you in general i'm fat'.
Example Output: yes

Example Input: Dialogue 1: 'have you gone mad aft seein that reply ofcourse i have gone mad which reply'. Dialogue 2: 'yeahbeamingfacewithsmilingeyesbeamingfacewithsmilingeyes been back since sunday wearyface nope since yesterday'.
Example Output: yes

Example Input: Dialogue 1: 'u r hurting me the hard life ur hurting my feelings'. Dialogue 2: 'cool good good good good yes yes  yes'.
Example Output:
no