From a sequence of integers, take each LSB and assemble bytes (MSB-first) to recover ASCII.
LSB steganography hides a message in the least-significant bit of each pixel value.
Read ONE line of space-separated integers from stdin. The count is a multiple of 8. For each integer, take its lowest bit. Pack 8 bits at a time, MSB-first, into a byte. Decode the resulting bytes as ASCII and print the message.
Test data hides the message `Hi` (`H` = 0x48 = 01001000, `i` = 0x69 = 01101001).
Sign in to save your code and track progress across devices.