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: 'okay  that's  fine  thank you when  do you  leave '. Dialogue 2: 'haha that's me haha it was a good point though p lol i was kidding'.
Example Output: no

Example Input: Dialogue 1: 'you are very bad maybe maybe what'. Dialogue 2: 'you are not even a human how cam you feel i thought you're an alien i am not'.
Example Output: no

Example Input: Dialogue 1: 'same here three actually that's sad oh man you are hilarious'. Dialogue 2: 'no problem in using i don't have any problem with you haha'.
Example Output:
yes