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: 'wow please send his picture send it then you send'. Dialogue 2: 'you are very funny so i've been told india'.

Output: yes


Input: Consider Input: Dialogue 1: 'hows going today day kinda bad hoping tomorrow will be better today i was very happy'. Dialogue 2: 'just like that like father like son facewithtearsofjoy'.

Output: yes


Input: Consider Input: Dialogue 1: 'ai is stupid it's even bigger if the ai can create its own markets autonomously ai can't do anything'. Dialogue 2: 'ok how was it ok i'm back'.


Output: no