In this task, you are given two sentences. Your task is to classify the given sentences as "Yes" if they have same meaning; otherwise, classify them as "No". 

Q: Sentence-1: When the music has a good beat.<sep>Sentence-2: I am into dancing .

A: Yes
****
Q: Sentence-1: I used to have<sep>Sentence-2: I have a dog .

A: No
****
Q: Sentence-1: I heard it was.<sep>Sentence-2: New York apartment is worth investment .

A:
Yes
****