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: 'friend hey which place india'. Dialogue 2: 'i am not in a funny mood that's good how is that good'.

Output: yes


Input: Consider Input: Dialogue 1: 'yes because what i am asking you you are not giving me the appropriate answer you're not like me because i an not like you '. Dialogue 2: 'keep waiting doin that  tell me a joke'.

Output: no


Input: Consider Input: Dialogue 1: 'am an business men but there are people behind businesses okay no problem'. Dialogue 2: 'depends on mood  how so sometimes require to do '.


Output: yes