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

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

Ex Output:
no


Ex Input:
Dialogue 1: 'i have no gf in my life i would say you're just surviving you're not living life so i always sad'. Dialogue 2: 'i want to propose my girlfriend will you help me just be courageous and propose butloudlycryingfaceloudlycryingface'.

Ex Output:
yes


Ex Input:
Dialogue 1: 'currently my mind is occupied with you currently what'. Dialogue 2: 'y thanks xd no problem 3 found it on tumblr you fivar'.

Ex Output:

yes