@delator77 - One trick is needed - if you look at the 1st version within the comments, the author advises that the original intended way was too hard so a trick was added.
This was surprisingly easy. I must have missed the original version, so I cannot compare the two versions.