### Step 2: Step 1

In this step, you are going to create five 4 by 4 grids. Only do cells you marked with an X in step
1.

#### Grid #1:

Take the battery count modulo 2. If this value is 0, fill rows 1 and 2 with 10101010, otherwise
01010101.

Take the port count modulo 2. If this value is 0, fill rows 3 and 4 with 10101010, otherwise
01010101.

#### Grid #2:

Take the 16-digit binary number shown on the bottom screen of **Page 2**, fill the 4 by
4 grid with these
digits, then *horizontally flip the grid.*

#### Grid #3:

Take each corresponding cell in Grids #1 and #2 in reading order. XNOR them. In other words, put a 1
if they’re the same, otherwise a 0.

#### Grid #4:

Take the 16-digit binary number shown on the top screen of **Page 1**, fill the 4 by 4
grid with these digits, then *horizontally flip the grid.*

#### Grid #5:

Take each corresponding cell in Grids #3 and #4. XNOR them.

####
Example:

Battery count: 2

Port count: 5

Page 1, top screen: 1100110100001001

Page 2, bottom screen: 0001101010011001