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: 'coz u got offended not offended at all then up for fucking '. Dialogue 2: 'u know no i dont tell me i am pretty alone nowadays'.
Example Output: no

Example Input: Dialogue 1: 'lol what if i says free wififacewithtearsofjoythey what would be your answer laughing in silence okaygrinningsquintingface'. Dialogue 2: 'yes or no maybe wow'.
Example Output: yes

Example Input: Dialogue 1: 'a girl hurt me what happen without any reason'. Dialogue 2: 'arey i am here only i'm on  i feel lonely'.
Example Output:
yes