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: 'hy i my good momslightlysmilingface good noon foldedhands beamingfacewithsmilingeyes'. Dialogue 2: 'emotional songs listen to snow patrol's 'you could be happy' man i am happy'.
Example Output: yes

Example Input: Dialogue 1: 'yougrinningfacewithsweat really lolfacewithtearsofjoyfacewithtearsofjoy gm facewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoy i own youfacewithtearsofjoy'. Dialogue 2: 'not going why not health is poor  my'.
Example Output: no

Example Input: Dialogue 1: 'i speak for humanity are you nervous talking to me i don't bite i feel stupid talking to you'. Dialogue 2: 'yeah send ur address send 5 tola gold at my address ok send ur address'.
Example Output:
no