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

Input: Consider 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'.

Output: no


Input: Consider Input: Dialogue 1: 'yeah so where are you in my room'. Dialogue 2: 'i have many ideas give me some what about this'.

Output: yes


Input: Consider Input: Dialogue 1: 'meanin of potty potty means 'haggu' or 'stool'  fuck u hav a potty mouth bitchangryfaceangryfacefacewithsteamfromnosefacewithsteamfromnosefacewithsteamfromnose'. Dialogue 2: 'because i don't know that's exactly why i'm stabbing you too  get lost'.


Output: yes