keep track of how many keys are pressed, and when the user pressed h,e,l, or o, make sure the count is proper (ie, h can only be pressed when the count is 0, e can be pressed only when it's 1, etc. And the Else clause can be used to revert the count to zero.