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: 'n u r laughing cause it's funny thumbsup get lost u bastard'. Dialogue 2: 'i am brilliant i don't need to study i dont wanna fail you failed me'.

Output: no


Input: Consider Input: Dialogue 1: 'i don't no you just said you did what'. Dialogue 2: 'yess of course for sure the best so your real name'.


Output: yes