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: 'hows going today day kinda bad hoping tomorrow will be better today i was very happy'. Dialogue 2: 'just like that like father like son facewithtearsofjoy'.

Output: yes


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: 'ok  hello how are you love you '. Dialogue 2: 'absolutely so last month sulare what's the date today'.


Output: yes