Automate the last two keypresses