It makes me sad that you can't use mod in the 3rd part of the for loop. :(