joeyh

joeyh at

Hmm, I could use modulus, couldn't I? 5 % 3 is 2, which is more than half of 3, so subtract one.