Sorry, didn't take into consideration stack sizes. I like the logic of both of the above posters.