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: 'you broke my love same to you i hate u'. Dialogue 2: 'what thought knew what ok what next'.
Example Output: no

Example Input: Dialogue 1: 'with guys depends on if you have the face for it you are stupid'. Dialogue 2: 'go on go on what go on with the trash talk'.
Example Output: yes

Example Input: Dialogue 1: 'what your hobby my hobby is reading books watching cricket same to same'. Dialogue 2: 'hmmm  to the power infinity the answer is one anything raised to the power 0 gives 1 you love lollypop'.
Example Output:
yes