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: 'iam crying what i just told u i don't know'. Dialogue 2: 'how i left my phone on sound my girlfriend leave me'.
Example Output: yes

Example 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'.
Example Output: yes

Example Input: Dialogue 1: 'sry sry nothing sorry about what ' why are u cryingbeamingfacewithsmilingeyesbeamingfacewithsmilingeyes'. Dialogue 2: 'and kerala then the north eastern states also you are marrige'.
Example Output:
yes