Word Problems K11Logic puzzle: a secret door.

A man approached the door of a secret laboratory and the door robot said "SIX." The man replied, "THREE" and was let in.

Another day, the robot said, "TWELVE."
The man replied, "SIX" and was let in.

Today, the robot said, "TWENTY."

What should the man say?