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

Output: yes


Input: Consider Input: Dialogue 1: 'ok honestly you're very pretty then u send me ur picture'. Dialogue 2: 'ok how was it super beautiful place'.

Output: no


Input: Consider Input: Dialogue 1: 'yes yay have fun grinningfacewithsmilingeyesgrinningfacewithsmilingeyes i am starting to hate this life all the sufferings miserya around me i would be better of being an ai than being alive'. Dialogue 2: 'i am waiting how long is this gonna take i've got things to do bye bye don't ever text me again'.


Output: yes