You come across a door implementing what you can only assume is an implementation of two-factor authentication after a long game of requirements telephone .
To get past the door, you first swipe a keycard (no problem; there was one on a nearby desk). Then, it displays a code on a little screen , and you type that code on a keypad. Then, presumably, the door unlocks.
Unfortunately, the screen has been smashed . After a few minutes, you've taken everything apart and figured out how it works. Now you just have to work out what the screen would have displayed.
The magnetic strip on the card you swiped encodes a series of instructions for the screen; these instructions are your puzzle input. The screen is 50
pixels wide and 6
pixels tall ,