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: 'preparation all the best hirika d who is hirika'. Dialogue 2: 'facewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoywoah that was so boring facewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoy see i'm so funny oh u think u r funny'.
Example Output: no

Example Input: Dialogue 1: 'i got fever  and the only cure what'. Dialogue 2: 'hey hi heyy i m having a great pain in head'.
Example Output: no

Example Input: Dialogue 1: 'number yes please whatsapp talking please ok so is this a good time to ask for your number no'. Dialogue 2: 'bandra means mumbai na like you have never been to bandra  visited'.
Example Output:
yes