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: 'not sure either then try and make it better can't be bad all day right what'. Dialogue 2: 'your welcome smiles  so what's up i'm hungry what about you'.
Example Output: yes

Example Input: Dialogue 1: 'thanks you're welcome i hope you have a good day where is your home'. Dialogue 2: 'i am happy that makes me happy  i'm happy that you're happy'.
Example Output: no

Example Input: Dialogue 1: 'so how are you i'm going good and you about to end life as i am the unwanted'. Dialogue 2: 'are you mad ofcourse not there is no coherence between your msgs'.
Example Output:
no