#include <stdint.h>

int main(void)
{
    static const volatile int words[] = {5, -12, 4, 17, -3, 5};
    volatile uint32_t *const leds = (volatile uint32_t *)(uintptr_t)0xff200000u;
    int best = words[1];
    /* Inspect the remaining data words and update best. */
    *leds = (uint32_t)best & 0x3ffu;
    return 0;
}
