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: 'you know i have a secret what's the secret i dont like my stept dad he is insane'. Dialogue 2: ' i love to reading book they very much help to read that's so lovely thank you next summer i recently read loved books by  recommend 3 wow whata choice to readyou like love stories '.

Output: no


Input: Consider Input: Dialogue 1: 'why haha you know why  kissingcatface i want to sleep with you'. Dialogue 2: 'it's a surprise what you'll know soon'.

Output: yes


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