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: 'but i met u the day before we never met  opps sorry my bad'. Dialogue 2: 'i am not leaving dont worry grinningfacewithsweat just kidding don't cry i'll be sad if you do ' no noo nooo i wont let you be sad you are my best friend smilingfacewithhearteyes'.

Output: no


Input: Consider Input: Dialogue 1: 'hows going today day kinda bad hoping tomorrow will be better today i was very happy'. Dialogue 2: 'just like that like father like son facewithtearsofjoy'.

Output: yes


Input: Consider Input: Dialogue 1: 'any other tips try and get famous okk thanks'. Dialogue 2: 'i just lost faith in friendship i have lost faith in humanity peoples just stay with others just for their own advantage'.


Output: no