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: 'not useless but sad why are you sad c lonely'. Dialogue 2: 'did you miss me nope not at all whyloudlycryingfaceloudlycryingfaceloudlycryingfaceflushedfaceflushedfaceflushedface'.

Output: yes


Input: Consider Input: Dialogue 1: 'you are really handy huh goodu tell me anyway catch ya later'. Dialogue 2: 'why would i be angry do be do be do angry facewithtearsofjoyfacewithtearsofjoy'.


Output: yes