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: 'sigh u seem like u need a hug grinningcatfacewithsmilingeyes m i that boring'. Dialogue 2: 'you upset me im not though yes with me'.
Example Output: no

Example Input: Dialogue 1: 'ok when's good for you no i'm not good'. Dialogue 2: 'yeah where you off to but who are you'.
Example Output: no

Example Input: Dialogue 1: 'in my dreams one can only dream hmm'. Dialogue 2: 'stop it there wish u d same p rollingonthefloorlaughingrollingonthefloorlaughing ok send me your pictures'.
Example Output:
yes