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: 'i don't love you anymore i seem to have forgotten how to do 'love' altogether i hate you'. Dialogue 2: 'me too i want the song x duck off fuck off'.

Output: yes


Input: Consider Input: Dialogue 1: 'so send mefacesavoringfoodslightlysmilingface its ok yaar smilingface no please'. Dialogue 2: 'spoon with who spoons are one of the oldest eating utensils on the planet spoon is also a sleeping position'.


Output: yes