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: 'firstly u send me yes i do don't text me anymore'. Dialogue 2: 'it wasn't a joke well i laughed grinningsquintingface i didn't you stupid ass bitch'.

Output: yes


Input: Consider Input: Dialogue 1: 'i knw haha i knw ma grinningcatfacewithsmilingeyes you are stupid'. Dialogue 2: 'i am not parfect english haha hello i have people who can vouch for my english ok facewithtearsofjoyfacewithtearsofjoy dear'.


Output: no