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

Output: yes


Input: Consider Input: Dialogue 1: 'chapathi and potatoes mapaas that looks quite delicious well done grinningcatface tnx'. Dialogue 2: 'lets be friends if i can't have you wat that means '.

Output: yes


Input: Consider Input: Dialogue 1: 'meanin of potty potty means 'haggu' or 'stool'  fuck u hav a potty mouth bitchangryfaceangryfacefacewithsteamfromnosefacewithsteamfromnosefacewithsteamfromnose'. Dialogue 2: 'beach beachwithumbrella who is that beach lol sea side'.


Output: no