On the Subject of Passport Control

Congratulations.
The October Labor Lottery is complete.
Your name was pulled.
Glory to Arstotzka, glory greatest country!


What is this place?

Good day citizen, it appears that your name was rolled on the October Labor Lottery. What does that mean you ask? Ohh nothing fancy, just a brand new position as a passport inspector!
What was that? “What do I do?” it’s simple, really, all you need to do is check the rules (updated daily) and then give each passenger a stamp of approval or denial as needed.
Your quota is 3 successful passages. Reach that and you’re free to go home for the day.


How to operate the passport booth?

The passport booth’s most prominent features are the displays and the stampers.
The top display will show the passenger’s passport information, the bits you’ll need are just the name, ethnicity, DoB and the passport’s expiration date.
Next up is the bottom display, it’s very simple and easy to use, all it does is show you if the passenger is departing or arriving
Finally, the stampers, very simple design, very easy to use.

How to use stamp:
  1. Choose stamp
  2. Put hand over stamp
  3. Press stamp
  4. Job’s done!

Rules:

Now you might be asking yourself, “But Mr. Instructor, where do I find the rules you talked about?” So let me show you
The rules are sent each day in an encrypted manner. Namely, a board with a few ports, batteries, varying indicators and a serial number.
First of all is the date. The date is seperated into three parts, day, month and year.

  • The first digit of the day is the alphanumeric value of the 1st character in the serial #, mod 3.
    The second digit is the alphanumeric value of the 2nd character, mod 10. If the day is zero, set it to one
  • The month is calculated by taking the sum of the 3rd and 4th characters, mod 12 + 1.
  • The year is found by using the 5th character mod 10 as the tens digit and the 6th character mod 10 as the units digit.
    After that is done, mod the result by 30. The resulting year will be 20XX, where XX is the number you calculated
Next scan over the serial # once again, if there are at least 3 occurrences of the letters in ARSTOTZKA, then only Arstotzkan citizens are allowed to pass.
Furthermore if the sum of all the digits in the serial # evaluates to 18 or higher only citizens over the age of 18 are allowed to pass. Last but not least if there are at least 3 batteries and a port plate containing a parallel AND a serial port you must approve only those who seek entry into our glorious country,
if there are 2 or fewer batteries and a lit indicator labeled SND, you must approve only people who seek to leave our glorious nation. Otherwise, pay no attention to destination.

RULES EXCEPTIONS:

Very important to know, nation also has secret codes for events.
Unlit indicator labeled BOB, lit indicator labeled CAR and a PS/2 port means facility on lockdown, nobody enters, nobody leaves.
Lit indicator labeled BOB, lit indicator labeled CAR and lit indicator labeled NSA means important people pass through. All are allowed passage.

NOTE: MAKE SURE TO CHECK THE EXPIRATION DATE, IN CASE OF OUT OF DATE PASSPORT DENY PASSAGE EXCEPT IN CASE OF SPECIAL INSTRUCTIONS. NOTE: ALLOWING/DENYING PASSAGE WRONGFULLY WILL RESULT IN A CITATION!

GLORY TO ARSTOTZKA

GLORY GREATEST COUNTRY