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's are written for upside  medusa and the snail the lives of a cell old books but still very good are you in madras '. Dialogue 2: 'do you want yeah please come here'.

Output: yes


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: 'but u say me love u i luv u but i luv all other alphabets as well  cryingface'. Dialogue 2: 'which place you need to visit  garden cities there are many let's stop it'.


Output: no