Inspired by
SAGE's
Shuffle