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: 'my old girlfriend starting chat with me  i am happy your feeling of being uncomfortable when your girlfriend touches another is not unreasonable yhaa'. Dialogue 2: 'not like that u r not the best but realy u r not like the rest i miss my love'.

Output: no


Input: Consider Input: Dialogue 1: 'yea alot i m so happy me too ya but so much to do so less tym yupp'. Dialogue 2: 'then go take rest rest a rest facewithtearsofjoyfacewithtearsofjoy'.

Output: yes


Input: Consider Input: Dialogue 1: 'i m also fine why because while chatting with u i feel good'. Dialogue 2: 'lot of stuff down to earth 3 up to dky'.


Output: no