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: 'your happy thanks you i am not happy'. Dialogue 2: 'she is my gf from that other guy are you mad'.

Output: no


Input: Consider Input: Dialogue 1: 'lots of weird and crazy stuff so much stuff what about you'. Dialogue 2: 'i saw it from the very first day ohhh i seeeyes gudday'.

Output: yes


Input: Consider Input: Dialogue 1: 'you should watch the man who knew infinity how was the movie its a great movie'. Dialogue 2: 'the following user name what was the username i am will to'.


Output: no