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: 'come on tell me i'm leaving tmrw  leaving where to'. Dialogue 2: 'not good girl says you yes'.

Output: yes


Input: Consider Input: Dialogue 1: 'have you gone mad aft seein that reply ofcourse i have gone mad which reply'. Dialogue 2: 'yeahbeamingfacewithsmilingeyesbeamingfacewithsmilingeyes been back since sunday wearyface nope since yesterday'.

Output: yes


Input: Consider Input: Dialogue 1: 'mohawk do not get a mohawk thumbsdown wat it mean'. Dialogue 2: 'aliens are not allowed on my planet why  because you are annoying'.


Output: no