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: 'i need to register give me your tuitalk accout thumbsup tuitalk'. Dialogue 2: 'no send new your photo this looks like a pissed off dog in front of a school photo day backdrop angryface send me your pic'.

Output: yes


Input: Consider Input: Dialogue 1: 'love always adore anything like this i asked don't u love xombie'. Dialogue 2: 'goodbyee good i don't like talking to yoy'.

Output: no


Input: Consider Input: Dialogue 1: ' haven't thought about that facewithtearsofjoy facewithtearsofjoy facewithtearsofjoy yess'. Dialogue 2: 'wow you are so funny lol you're so sarcastic  i understood you are a good girl have a nice heart'.


Output: yes