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: '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: 'not sure what they are saying but definitely not egoistic and arrogant they are but they have a studio chat before it starts and after it ends who has studio chat'. Dialogue 2: 'oh what the timr don't forget the one behind the knee time'.
Example Output: yes

Example Input: Dialogue 1: 'u r my medicine i'd say medical care but i hear you facewithtearsofjoy'. Dialogue 2: 'not fine why not what no one loves me as i m ugly'.
Example Output:
no