He worked it out with a pencil!
Because he was sur to requirements.
Because Dec 25 = Oct 31
He works it out with a pencil
The lavatory, of course!