Solve get largest from stack