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: 'whatever sorry i don't care'. Dialogue 2: 'that am always happy thank you  like u'.

Output: no


Input: Consider Input: Dialogue 1: 'fantacy well yeah i was watching a movie earlier say the name'. Dialogue 2: 'you are a dog  i'm a cute lil kitten does that count nopes'.


Output: yes