Three guys are in the middle of doing back flips.
Three guys are in the middle of back flips for a gymnastics routine.
Doing back flips does not necessarily mean for a gymnastics routine.
exists p1 x1 x2.(n_middle(x2) & exists e1 s1 x3 x4.(in(x1,x2) & a_back(s1) & Manner(e1,s1) & Theme(e1,x4) & Actor(e1,x3) & v_do(e1) & n_flip(x4) & (x2 = x3)) & n_guy(x1) & card_eq_3(x1))
exists p1 x1 x2.(n_middle(x2) & exists s1 x3 x4 x5.(in(x1,x2) & of(x2,x3) & for(x3,x4) & n_routine(x4) & of(x4,x5) & n_gymnastics(x5) & n_flip(x3) & a_back(s1) & Theme(s1,x3)) & n_guy(x1) & card_eq_3(x1))