문제
Spies Breaching Computers (SBC) is a private digital spy agency that is developing a new device for intercepting information using electromagnetic waves, which allows spying even without physical contact with the target.
The device tries to collect information one byte at a time, this is, a sequence of bits where each of them, naturally, can have a value of or . In certain situations, due to interference from other devices, the reading cannot be done successfully. In this case, the device returns the value for the corresponding bit, informing that the reading could not be performed.
In order to automate the recognition of the information the device reads, a request was made for a program that, based on the information read by the device, informs whether all bits were read successfully or not. Your task is to write this program.