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: 'well see that smiles a bit grinningface'. Dialogue 2: 'uz what because i like talking hahaha my hobby'.

Output: yes


Input: Consider Input: Dialogue 1: 'yeah thatz good i know thanks d did u have any relationship'. Dialogue 2: 'i hate tv have u ever watched friends     what'.

Output: no


Input: Consider Input: Dialogue 1: 'where to live in a toilet haha good'. Dialogue 2: 'y asking with me coz u keep disappearing verry funny'.


Output: yes