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: 'and don't know where to go you're not going to go any where that was rude'. Dialogue 2: 'i do not know not asking what you know but what you think i do not really know'.
Example Output: no

Example Input: Dialogue 1: 'what is that you you hate me'. Dialogue 2: 'i just don't have peace of mind be content with what you have or achieve in life brings peace of mind i lost someone i love'.
Example Output:
no