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: '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: 'you wiollbe hre on monday sadly yes i work everyday but thursday sadly  whaynyou say'. Dialogue 2: 'let's go ukrain let's go pal when'.
Example Output: no

Example Input: Dialogue 1: 'chatting with you we need to chat more or say flirt with you'. Dialogue 2: 'it's been years since i saw a good movie i see sorry to hear that frowningface hmmdisappointedface'.
Example Output:
no