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: 'it's sorry stupid thanks s am i doing this right s grinningfacewithbigeyes my apologies'. Dialogue 2: 'i am happy that makes me happy  ok friend s'.

Output: no


Input: Consider Input: Dialogue 1: 'i don't know i just i heart you hmmm'. Dialogue 2: 'i am not going to talk with you but i want to talk to you no don't talk'.

Output: no


Input: Consider Input: Dialogue 1: 'i m always happy and share my thoughts i thank you x with my friends'. Dialogue 2: 'whatyou are funnyfacewithtearsofjoyseenoevilmonkey the best answer to anything nonsensical facewithtearsofjoy that means you agree you are a nonsensefacewithtearsofjoy'.


Output: yes