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: 'any infectious disease i want an infectious disease ball he is suffering from blood strain in nose'. Dialogue 2: 'ofcourse yes have you  but she blocked mecryingface'.

Output: yes


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: 'yup ah then yes correct itaposs like date'. Dialogue 2: 'what does ditto mean what does mean what'.


Output: yes