Ejim scores 24, Hogue has 19 as No. 16 Cyclones beat Kansas State 91-85 in Big 12 quarterfinal

Kansas State guard Wesley Iwundu (25) shoots over Iowa State forward Dustin Hogue (22) during the first half during the first half of an NCAA college basketball game in the quarterfinals of the Big 12 Conference men's tournament in Kansas City, Mo., Thursday, March 13, 2014. (AP Photo/Orlin Wagner) (The Associated Press)

Iowa State head coach Fred Hoiberg yells to his team during the first half of an NCAA college basketball game agaisnt Kansas State in the quarterfinals of the Big 12 Conference men's tournament in Kansas City, Mo., Thursday, March 13, 2014. (AP Photo/Orlin Wagner) (The Associated Press)

Melvin Ejim had 24 points and 10 rebounds, Dustin Hogue added 19 points and 10 boards and No. 16 Iowa State held on through a tense final minute to beat Kansas State 91-85 in the quarterfinals of the Big 12 tournament.

Georges Niang added 18 points and Naz Long finished with 14 points for the fourth-seeded Cyclones (24-7), who advanced to play the winner of Kansas-Oklahoma State in Friday's semifinals.

Iowa State was clinging to an 87-85 lead with just over a minute left when Ejim missed a layup and the Wildcats (20-12) got the rebound. They raced the other direction, but Shane Southwell lost control of the ball going toward the rim and Iowa State came away with it.

Long was fouled and made both free throws with 16.2 seconds left. Marcus Foster missed a 3 at the other end, and Long scored a layup in transition to put an exclamation mark on the win.