Original: For example, an input "011101" has outer bits "01" and inner bits "1101"; the corresponding output would be "1001".
Simplified: For example, an input "011011" has outer bits "01" and inner bits "1101"; the corresponding output would be "1001".