Goodness, what a lot of discussion.
Stuartn, if it helps, simes's original suggestion was utterly and completely correct, as was his transcription of the solution log from the Sadman programme. Any confusion would seem to be arising from somewhere else.
]:@O (Demonic howling pig again)