Input: Sentence 1: (Having seen so many episodes and observed the formula, I have thought it would be amusing to write an episode set in a think tank. Sentence 2: Having seen two episodes, I thought it would be fun to write my own.
Output: 

 yes