A cat noticed that the friend lended the cookie to a girl .
* friend ( x _ 5 ) ; * cookie ( x _ 8 ) ; cat ( x _ 1 ) AND notice . agent ( x _ 2 , x _ 1 ) AND notice . ccomp ( x _ 2 , x _ 6 ) AND lend . agent ( x _ 6 , x _ 5 ) AND lend . theme ( x _ 6 , x _ 8 ) AND lend . recipient ( x _ 6 , x _ 11 ) AND girl ( x _ 11 )