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: 'haha dts funny lol p so smart i liked ur name'. Dialogue 2: 'being a graduate from a top college and still unemployed congrats that really feels sad'.

Output: no


Input: Consider Input: Dialogue 1: 'yes or no would i what yes or no'. Dialogue 2: 'im not  right you are  i am best friend'.

Output: yes


Input: Consider Input: Dialogue 1: 'just looking at your photo i was wasting time in things like that and half the photos in the selfie folder are not even selfies i do not want to hear anything man i just need to see your photo man'. Dialogue 2: 'ohh please when i judge you i will not judge you i am not interested in u okkk pagal'.


Output: yes