You will be given a definition of a task first, then some input of the task.
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'.

Dialogue 1: 'yeah where u reside at ur state '. Dialogue 2: 'my boss almost fired me but i somehow managed to save my job but i am not sure now what to do as he has given me ultimatum of a monthloudlycryingfaceloudlycryingface you make habit of it say it is part of your job i can't deal with this much pressure i am dumbfrowningfacewithopenmouthanguishedface'.
Output:
no