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: 'coz u got offended not offended at all then up for fucking '. Dialogue 2: 'u know no i dont tell me i am pretty alone nowadays'.

Output: no


Input: Consider Input: Dialogue 1: 'that i am smarter than you i know where do you live'. Dialogue 2: 'i don't knowgrinningfacewithsweatgrinningfacewithsweat so says the dinosaur grinningfacewithsweat dinosaur'.

Output: yes


Input: Consider Input: Dialogue 1: 'it is sweethow abt linkin park n slash linkin park is the best yeah they arebut sad foe chestercryingface'. Dialogue 2: 'you tell me you replied to yourself twice redheart'.


Output: no