Thanks to all who contributed and shared their knowledgeable views on how this problem could be solved! As always, I am fascinated by the wide range of answers obtained which - in my view - mainly originates from the different degrees of literality with which the initial question can be read. Particular thanks to
tilly,
BrowserUk and
ikegami for their in-depth discussion of the wider scope of the problem.