The remainder of the 3rd digit of the lottery numbers divided by 3.
Remainder after division by 3: 0,1,2