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: 'well see that smiles a bit grinningface'. Dialogue 2: 'uz what because i like talking hahaha my hobby'.

Output: yes


Input: Consider Input: Dialogue 1: 'not fine no now tell me why i should wear one i am missing my girlfriend'. Dialogue 2: 'crying why the tears slightlyfrowningfaceslightlyfrowningfaceslightlyfrowningface i am sad'.


Output: yes