Do what Gobo says and prepare to have your mind blown in this unorthodox SDS entry!
A book called 'Murderous Maths' told me how to perform this trick, but I programmed it into Scratch.