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: 'i need to register give me your tuitalk accout thumbsup tuitalk'. Dialogue 2: 'no send new your photo this looks like a pissed off dog in front of a school photo day backdrop angryface send me your pic'.

Output: yes


Input: Consider Input: Dialogue 1: 'but no girl talk to medisappointedfacedisappointedfacedisappointedfacedisappointedfacedisappointedface i did to no one but girls do it with me'. Dialogue 2: 'what u asked me if u cn ask me something i have lost a friend not like you'.

Output: no


Input: Consider Input: Dialogue 1: 'how did you know  i figured facewithtearsofjoy haha '. Dialogue 2: 'i think yu love me back i am really in love with this song lol grinningfacewithsweat'.


Output: yes