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: 'funny damn straight that's funny p some thing to share'. Dialogue 2: 'nothing do something what to do'.

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: 'nice job how is your foot good but why you asking'. Dialogue 2: 'nope like nobody can see this oh okay or read it'.


Output: yes