A boy in a gray sweatshirt is laughing while someone helps him put his foot over his head.
A boy in a grey shirt is flexible.
The boy is in a gray shirt, and he can put it foot over his head, so he is flexible.
exists e1 p1 s1 x1 x2 x4 x5.(exists e2 p2 x1 x3.(exists e3.(over(e3,x5) & Theme(e3,x4) & Actor(e3,x1) & v_put(e3)) & n_male(x1) & n_male(x1) & Recipient(e2,p2) & Actor(e2,x3) & Topic(e2,x1) & v_help(e2) & n_person(x3)) & n_head(x5) & of(x5,x1) & n_foot(x4) & of(x4,x1) & n_male(x1) & while(e1,p1) & Actor(e1,x1) & v_laugh(e1) & in(x1,x2) & n_sweatshirt(x2) & a_gray(s1) & Theme(s1,x2) & n_boy(x1))
exists s1 x1 x2 x3.(Theme(s1,x1) & a_flexible(s1) & in(x1,x2) & n_shirt(x2) & of(x2,x3) & n_grey(x3) & n_boy(x1))