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'.

Ex Input:
Dialogue 1: 'my tooth is so painful how is it painful it is paining me'. Dialogue 2: 'no you are rude and you're being creepy i'm not'.

Ex Output:
no


Ex Input:
Dialogue 1: 'look there is something i need to talk here dont let me know that you want to talk just talk  do you know turkish '. Dialogue 2: 'u giving me bad words  disappointedfacedisappointedface this is what happens when you agree to nothing facewithtearsofjoy i'm sad now'.

Ex Output:
no


Ex Input:
Dialogue 1: 'am really dad who else but dad sad'. Dialogue 2: 'i am bad it's fine d very bad'.

Ex Output:

yes