That was actually fun to think through for a minute. Easy, but I can see how a young me nervous at an interview might have stumbled.
Its why I hate those things. They aren't testing analytical or creative ability, they are testing grace under pressure - a quality I have found is gained through experience.