Drop links or images here to add them to the editor.

Finish folding the transparent paper according to the instructions. The manual says the code is always eight capital letters. The letters ABCDEFGHJKLOPRSUZ are represented in the following way:

.##. ###. .##. ###. #### #### .##. #..# ..## #..# #... .##. ###. ###. .### #..# ####
#..# #..# #..# #..# #... #... #..# #..# ...# #.#. #... #..# #..# #..# #... #..# ...#
#..# ###. #... #..# ###. ###. #... #### ...# ##.. #... #..# #..# #..# #... #..# ..#.
#### #..# #... #..# #... #... #.## #..# ...# #.#. #... #..# ###. ###. .##. #..# .#..
#..# #..# #..# #..# #... #... #..# #..# #..# #.#. #... #..# #... #.#. ...# #..# #...
#..# ###. .##. ###. #### #... .### #..# .##. #..# #### .##. #... #..# ###. .##. ####

Two letters are always separated with a column that only consists of dots (.).

Assignment

What code do you use to activate the infrared thermal imaging camera system? Determine this in the following way:

Example

In this interactive session we assume the text file paper.txt is located in the current directory.

> dots("paper.txt")
"RPCKFBLR"

After all fold instructions have been applied, this transparant paper looks like:

###..###...##..#..#.####.###..#....###.
#..#.#..#.#..#.#.#..#....#..#.#....#..#
#..#.#..#.#....##...###..###..#....#..#
###..###..#....#.#..#....#..#.#....###.
#.#..#....#..#.#.#..#....#..#.#....#.#.
#..#.#.....##..#..#.#....###..####.#..#