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: 'lol what if i says free wififacewithtearsofjoythey what would be your answer laughing in silence okaygrinningsquintingface'. Dialogue 2: 'yes or no maybe wow'.

Output: yes


Input: Consider Input: Dialogue 1: 'yes yay have fun o you are robot'. Dialogue 2: 'you know this actually fun ha does it can give me your no'.

Output: yes


Input: Consider Input: Dialogue 1: 'yes vote i am enjoying'. Dialogue 2: 'i want pizza i want pizza same can you make m'.


Output: no