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: 'enjoy the rest of your day thank you so much it's fun talking to you'. Dialogue 2: 'watch wild child wild it is awesome'.

Output: yes


Input: Consider Input: Dialogue 1: 'expressionlessfaceneutralfaceneutralfaceneutralfacegosh facewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoy nah nice pic though smilingface you stupid computer'. Dialogue 2: 'nop u called me brother so i hate you i hate it when u ignore me  then dont call me brother'.

Output: yes


Input: Consider Input: Dialogue 1: 'i miss my mother so when are you leaving soon'. Dialogue 2: 'need help are you hurt disappointedfacegrimacingface i am dying'.


Output: yes