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: 'what's that  the old way of spelling percent rantir looks better'. Dialogue 2: 'wi mean which part pacific near us coast india'.
Example Output: yes

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: 'when you wanna join sure thing come to mumbai'. Dialogue 2: 'no cary there's no limit i am happy with u'.
Example Output:
no