Man, this feels too smart for me. Took me a while to understand. Could we please do `(p % 2) ? 0 : 4` instead?