This is a series of programming challenges for beginners and experienced Caché programmers.
For an introduction : go to article https://community.intersystems.com/post/advent-code-2016-day1-no-time-t…
Today's challenge is a variation on the White Elephant gift exchange (https://en.wikipedia.org/wiki/White_elephant_gift_exchange), in this case, by a bunch of Elves where only one can have all gifts.
Each Elf brings a present.They all sit in a circle, numbered starting with position 1.Then, starting with the first Elf, they take turns stealing all the presents from the Elf to their left.


