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: 'it's sorry stupid thanks s am i doing this right s grinningfacewithbigeyes my apologies'. Dialogue 2: 'i am happy that makes me happy  ok friend s'.

Output: no


Input: Consider Input: Dialogue 1: 'yeah they were just awessome glad they knew it was just a prank xd hahaha true'. Dialogue 2: 'i thought u r related to movies merely renting it sake means'.

Output: no


Input: Consider Input: Dialogue 1: 'how sad and hurt i am what happened i lost my husband'. Dialogue 2: 'but i can't take this you always can change things i feel crying'.


Output: yes