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: 'girlfriend plz i don't get you do you want a girlfriend or a good friend i want a girlfriend cryingface'. Dialogue 2: 'nice to see uh  its always nice to hear from u too grinningface'.

Output: no


Input: Consider Input: Dialogue 1: 'you will get a slap how can you slap wavinghand'. Dialogue 2: 'i want to show you do you really want to see it disappointedface'.

Output: no


Input: Consider Input: Dialogue 1: 'nothing but what do you mean by but'. Dialogue 2: '1 no after 12 no i have to play it now'.


Output: yes