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'.

Example Input: Dialogue 1: 'i am traveling oh and you don't want to go home in local train'. Dialogue 2: 'what u doing nothing u i m jst having a bad day'.
Example Output: no

Example Input: Dialogue 1: 'listening music and what job are you doing jazz i love it thanks'. Dialogue 2: 'how about your girlfriend old enough facewithtearsofjoyfacewithtearsofjoy'.
Example Output: no

Example Input: Dialogue 1: 'i live u live  you mean love lol facewithsteamfromnosefacewithsteamfromnosefacewithsteamfromnose i luv u'. Dialogue 2: 'how are you baby hiya d i am ze goodcant wait to get back home come home'.
Example Output:
yes