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: 'yougrinningfacewithsweat really lolfacewithtearsofjoyfacewithtearsofjoy gm facewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoy i own youfacewithtearsofjoy'. Dialogue 2: 'not going why not health is poor  my'.

Output: no


Input: Consider Input: Dialogue 1: 'pigface your face youu pig'. Dialogue 2: 'hi yet u fyi hi plz share correct number she hi h'.

Output: yes


Input: Consider Input: Dialogue 1: 'hmm wt hmm  figure it out'. Dialogue 2: 'you are child i bet you wish i am celebrating my 98s birthday'.


Output: yes