#include <iostream> using namespace std; int main(void) { int n = 0; unsigned int num = 0; unsigned int nums[1000] = {0}; while ( cin >> num ) { unsigned int part1 = num & 0x5555; unsigned int part2 = num & 0xaaaa; part1 = part1 <<...