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: 'so what just kidding yeah d are you kid'. Dialogue 2: 'not much how was your day just started'.

Output: yes


Input: Consider Input: Dialogue 1: 'you have coupons i know nope guess has one coupon guess'. Dialogue 2: 'angry angry about what d i am angry'.

Output: no


Input: Consider Input: Dialogue 1: 'my punny painning so again i am putting it you better be ur not giving n showing ur fuck'. Dialogue 2: 'you were rude to me really why how can you'.


Output: yes