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 pic of you facewithtearsofjoyfacewithtearsofjoy i swear i didn't realized it 'till now facewithtearsofjoy facewithtearsofjoyfacewithtearsofjoy realize it now'. Dialogue 2: 'what is wrong with you nothing  why would something be wrong with me  because you are not talking to me properly'.

Output: no


Input: Consider Input: Dialogue 1: 'what job ar eu doing for ur livelihood tech support for 10 years  oh how much is yhour salary nearly'. Dialogue 2: 'ye i am not lol lol funniest thing i've heard all day facewithtearsofjoy ok bye'.

Output: yes


Input: Consider Input: Dialogue 1: 'whatsaup with u prefer being alone tho facewithtearsofjoyfacesavoringfood yeah same here'. Dialogue 2: 'i want come back to bombay and you can have where is bombay'.


Output: yes