y = 1 + (x >= 0x3) + (x>=0x7) + (x>=0xf) + (x>=0x1f);