The only thing we have to be careful about is that the right shift operation needs to be sign-aware. In other words, we want the right shift operator to replicate the most significant bit when we right shift. This way, we can preserve the sign of a number as we right shift.