Input: Sentence 1: In the courtyard is a huge iron cauldron that was used for distributing rice gruel to the poor during famines in the 17th and 19th centuries. Sentence 2: The courtyard was used to dustribute rice gruel.
Output: 

 yes