On the Subject of The Code

What kind of code? It could be a letter code! It could be a digit code! Heck, it could even be an alphanumeric code! ffffffffffffffffffffffffffffffffffffffff.

  • To defuse this module, you need to input the correct four digit code.
  • To do that, take the displayed number at the top and follow the rules below.
Determining the code.
If there is exactly 1 battery in 1 holder, an unlit BOB and a serial port, submit the displayed number.
Otherwise, if there is an even number of ports, divide the displayed number by 23.
Otherwise, if the bomb was started on a Sunday or Saturday, divide the displayed number by 8.
Otherwise, if there is an even number of non-needy modules on the bomb, divide the displayed number by 20.
Otherwise, if there is a Burglar Alarm module on the bomb, divide the displayed number by 30.
Otherwise, if the last digit of the serial number is odd, divide the displayed number by 42.
Otherwise, if there is exactly 3 lit indicators, divide the displayed number by 69.
Otherwise, divide the displayed number by 12.
  • Remove all of the decimals and submit the answer.