UVa problem: Splitting numbers - Bit manipulation