Input: Sentence 1: Chickens run in and out of doorways and often may be seen peering out from roosts on the second floor of houses. Sentence 2: The chickens, not allowed in the houses, are kept in pens outside.
Output: 

 yes