## On the Subject of Binary Tango

It takes 10 to tango.

This module has three large displays at the bottom containing decimal numbers. Take the numbers from the first and third display and convert them into 8-bit binary.

Then, take the number of batteries. If it's even, take the first number; otherwise, take the second one. Take its most significant bit: this will be the most significant bit for your answer.

After that, take the other number and take its second-most significant bit. Repeat this back-and-forth until you have an 8-bit binary number, which you can now convert into a decimal number.

Submit your answer using the buttons above the displays. Your answer is displayed on the second display. Your answer will always be between 0 and 255.

Once you think you're done, press the big square at the top (which is actually a pixel). If you're wrong, a strike will occur.

On the second stage, you can notice something : letters may have appeared! That's because the displays now show the numbers in hexadecimal. Do the same thing as last time, but use the number of indicators instead in order to find which number you'll use first.

On the third stage, the displays will now show numbers in octal. This time, use the number of port plates instead of the number of indicators. After that, the module will finally be solved.

Example: With the numbers 241 (11110001) and 97 (01100001), your answer will be 11100001, or 225.