switch... case 0, 2, 4, 6, 8:

would do such a thing :wink: