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'.

Example Input: Dialogue 1: 'will you to out on a date with me promise when'. Dialogue 2: 'not this kind no that is that and this is this loudlycryingfaceloudlycryingfaceloudlycryingfaceloudlycryingface'.
Example Output: no

Example Input: Dialogue 1: 'yougrinningfacewithsweat really lolfacewithtearsofjoyfacewithtearsofjoy gm facewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoy i own youfacewithtearsofjoy'. Dialogue 2: 'not going why not health is poor  my'.
Example Output: no

Example Input: Dialogue 1: 'send it to everyone whom you know i sent it whom'. Dialogue 2: 'what's up  nothing u where r u now '.
Example Output:
yes