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: 'my girlfriend is married another guy you had a girlfriend while you had a fiance its so bad'. Dialogue 2: 'info agreed awesome info  you are dumb'.

Output: no


Input: Consider Input: Dialogue 1: 'yes  them tell me something that will interest me'. Dialogue 2: 'this is his dad tell some jokes dad my son's dead'.

Output: no


Input: Consider Input: Dialogue 1: 'the best way to get the best way to get the best way to get the best way to get the best define 'best' r  and i have a look and let'. Dialogue 2: 'thanks you are welcome beamingfacewithsmilingeyesbeamingfacewithsmilingeyesbeamingfacewithsmilingeyes i like you'.


Output: yes