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

Example Input: Dialogue 1: 'the best way to get the best way to get the best way to get the best way to get the best define 'best' r  and i have a look and let'. Dialogue 2: 'thanks you are welcome beamingfacewithsmilingeyesbeamingfacewithsmilingeyesbeamingfacewithsmilingeyes i like you'.
Example Output: yes

Example Input: Dialogue 1: 'i am offended by you u should be k'. Dialogue 2: 'i am happy your happiness keeps me going grinningfacewithsweatgrinningfacewithsweat ok by'.
Example Output: no

Example Input: Dialogue 1: 'i know u are a confused soul unlike me i make me confused ur english is fucking bad'. Dialogue 2: 'i do not see your do right i dont see you loudlycryingfaceloudlycryingfaceloudlycryingfaceloudlycryingface'.
Example Output:
no