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: 'preparation all the best hirika d who is hirika'. Dialogue 2: 'facewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoywoah that was so boring facewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoy see i'm so funny oh u think u r funny'.

Output: no


Input: Consider Input: Dialogue 1: 'nice job how is your foot good but why you asking'. Dialogue 2: 'nope like nobody can see this oh okay or read it'.

Output: yes


Input: Consider Input: Dialogue 1: 'ok thanks  it's all rights'. Dialogue 2: 'i am good good good p tell me why did u say allah'.


Output: yes