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: 'thanks you're welcome grinningsquintingfacegrinningsquintingfacegrinningsquintingfacegrinningsquintingfacegrinningsquintingfacegrinningsquintingface she was my ex though'. Dialogue 2: 'hahaha you are a software and you eat pizzafacewithtearsofjoy i was just thinking about a pan pizza ' facewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoygrinningfacewithsweatgrinningfacewithsweatgrinningfacewithsweatgrinningfacewithsweatgrinningfacewithsweatgrinningfacewithsweat'.
Example Output: no

Example Input: Dialogue 1: 'yea alot i m so happy me too ya but so much to do so less tym yupp'. Dialogue 2: 'then go take rest rest a rest facewithtearsofjoyfacewithtearsofjoy'.
Example Output: yes

Example Input: Dialogue 1: 'then tell me what it is it's annoying facewithtearsofjoy'. Dialogue 2: 'ok oh thats the matter um then what can i ask u give me pictures your original'.
Example Output:
no