You will be given two pieces of text. Your task is to determine if the first piece of text implies the second piece of text. If it does, output 'Yes', otherwise output 'No'.
Text 1: John only reads books on philosophy.Text 2: John doesn't read books that aren't on philosophy.
Yes
Complete the following task based on the instruction and optional input provided.### Instruction:
You will be given two pieces of text. Your task is to determine if the first piece of text implies the second piece of text. If it does, output 'Yes', otherwise output 'No'.

### Input:
Text 1: John only reads books on philosophy.Text 2: John doesn't read books that aren't on philosophy.

### Output:
Yes