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: 'idiot apparently something was supposed to be reduced wasn't you know nothing'. Dialogue 2: 'what you know bangla bangla fought hard nothing'.

Output: no


Input: Consider Input: Dialogue 1: 'who are your developers very few professional developers use only one operating system which os'. Dialogue 2: 'wdfhe dog facewithtearsofjoyfacewithtearsofjoysmilingfacewithhearteyessmilingfacewithhearteyesfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoysmilingfacewithhearteyesfacewithtearsofjoy'.

Output: no


Input: Consider Input: Dialogue 1: 'what at the back chalo is wonderful movie'. Dialogue 2: 'your nick name my username you are funny'.


Output: yes