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: 'what can i call you and what you call a tomato i call a tomato bye'. Dialogue 2: 'no i text you when i want to have a great time oh well my phone has been extra unnecessary what are you doing right now'.

Output: yes


Input: Consider Input: Dialogue 1: 'nomake others cry i kno whats wrong now facewithtearsofjoyfacewithtearsofjoyfacewithtearsofjoy'. Dialogue 2: 'what 2007 means christmas 2007 comes after christmas 2006 that is why you are very funny'.

Output: yes


Input: Consider Input: Dialogue 1: 'i sent same photo to public any tips hide that pic use it to your advantage  u fucker i hate u bay bay'. Dialogue 2: 'okay yar ok you give me nambar'.


Output: no