Skip to content

Instantly share code, notes, and snippets.

@mdunsmuir
Created May 3, 2013 20:33
Show Gist options
  • Save mdunsmuir/5513833 to your computer and use it in GitHub Desktop.
Save mdunsmuir/5513833 to your computer and use it in GitHub Desktop.
tape = {}
tape.default = 0
ptr = 0
tape[ptr] += 13
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 2
tape[ptr + 4] += 5
tape[ptr + 5] += 2
tape[ptr + 6] += 1
end
tape[ptr + 5] += 6
tape[ptr + 6] -= 3
tape[ptr + 16] += 15
ptr += 16
while tape[ptr] != 0
while tape[ptr] != 0
ptr += 9
end
tape[ptr] += 1
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] -= 1
ptr += 9
end
tape[ptr] += 1
while tape[ptr] != 0
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
tape[ptr - 7] += 5
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr += 9
end
tape[ptr + 7] += 1
tape[ptr + 34] += 1
ptr += 17
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
while tape[ptr] != 0
ptr += 6
while tape[ptr] != 0
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 2
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
tape[ptr - 6] += 4
ptr -= 6
while tape[ptr] != 0
tape[ptr] -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr += 9
end
tape[ptr + 6] += 1
tape[ptr] += 7
while tape[ptr] != 0
tape[ptr] -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr += 9
end
tape[ptr + 6] += 1
ptr -= 10
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 6
while tape[ptr] != 0
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 6] += 1
end
ptr -= 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 6] += 1
tape[ptr + 4] += 1
tape[ptr + 1] += 1
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] += 1
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] += 1
tape[ptr + 5] += 1
tape[ptr + 2] += 1
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] += 1
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] += 1
tape[ptr + 5] += 1
end
tape[ptr + 9] += 15
ptr += 9
while tape[ptr] != 0
while tape[ptr] != 0
ptr += 9
end
tape[ptr] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] -= 1
ptr += 9
end
tape[ptr] += 1
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] -= 1
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] += 1
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
tape[ptr + 4] += 1
end
tape[ptr] += 1
ptr += 9
end
ptr -= 8
while tape[ptr] != 0
ptr -= 9
end
end
ptr += 9
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr -= 10
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
tape[ptr - 1] += 1
ptr += 7
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 1] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
ptr -= 3
while tape[ptr] != 0
tape[ptr - 1] -= 1
tape[ptr] -= 1
tape[ptr - 6] += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 4
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
tape[ptr - 1] += 1
ptr -= 10
end
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] -= 1
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 5] += 1
end
ptr -= 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
tape[ptr + 4] += 1
end
tape[ptr] += 1
ptr += 9
end
ptr -= 8
while tape[ptr] != 0
ptr -= 9
end
end
ptr += 9
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr -= 11
end
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
tape[ptr - 2] += 1
ptr += 6
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 1] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
ptr -= 3
while tape[ptr] != 0
tape[ptr - 1] -= 1
tape[ptr] -= 1
tape[ptr - 6] += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 4
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
tape[ptr - 1] += 1
ptr -= 10
end
ptr += 9
while tape[ptr] != 0
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 36] += 1
end
ptr += 5
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] += 15
ptr += 9
while tape[ptr] != 0
while tape[ptr] != 0
ptr += 9
end
tape[ptr - 9] -= 1
ptr -= 18
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] -= 1
ptr += 9
end
tape[ptr] += 1
tape[ptr + 21] += 1
ptr += 18
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] -= 1
end
tape[ptr] += 1
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 5
while tape[ptr] != 0
ptr += 9
end
tape[ptr + 1] += 1
end
end
tape[ptr] += 1
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] -= 1
end
tape[ptr] += 1
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 6
while tape[ptr] != 0
ptr += 9
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr -= 1
end
end
tape[ptr] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr -= 1
while tape[ptr] != 0
ptr += 9
end
ptr -= 8
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
tape[ptr + 4] -= 1
end
tape[ptr + 9] += 26
ptr += 11
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr -= 2
end
ptr += 2
while tape[ptr] != 0
tape[ptr - 7] += 1
ptr -= 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 1] += 1
tape[ptr + 3] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
tape[ptr + 4] -= 1
end
ptr += 3
end
ptr += 13
while tape[ptr] != 0
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 5
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 6
while tape[ptr] != 0
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
tape[ptr + 1] += 1
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 9] += 1
end
ptr += 7
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] += 15
ptr += 9
while tape[ptr] != 0
while tape[ptr] != 0
ptr += 9
end
tape[ptr] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] -= 1
ptr += 9
end
tape[ptr] += 1
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] -= 1
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 5] += 1
end
ptr -= 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] += 1
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
tape[ptr + 3] += 1
end
tape[ptr] += 1
ptr += 9
end
ptr -= 8
while tape[ptr] != 0
ptr -= 9
end
end
ptr += 9
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr -= 10
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
tape[ptr - 1] += 1
ptr += 7
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 1] -= 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
ptr -= 2
while tape[ptr] != 0
tape[ptr - 1] -= 1
tape[ptr] -= 1
tape[ptr - 7] += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 3
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
tape[ptr - 1] += 1
ptr -= 10
end
ptr += 9
while tape[ptr] != 0
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 5] += 1
end
ptr -= 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
tape[ptr + 1] += 1
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] -= 1
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 5] += 1
end
ptr -= 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] += 1
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
tape[ptr + 4] += 1
end
tape[ptr] += 1
ptr += 9
end
ptr -= 8
while tape[ptr] != 0
ptr -= 9
end
end
ptr += 9
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr -= 10
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
tape[ptr - 1] += 1
ptr += 7
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 1] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
ptr -= 3
while tape[ptr] != 0
tape[ptr - 1] -= 1
tape[ptr] -= 1
tape[ptr - 6] += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 4
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
tape[ptr - 1] += 1
ptr -= 10
end
ptr += 9
while tape[ptr] != 0
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 36] += 1
end
ptr += 5
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 36] += 1
end
ptr += 6
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] += 15
ptr += 9
while tape[ptr] != 0
while tape[ptr] != 0
ptr += 9
end
tape[ptr - 9] -= 1
ptr -= 18
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] -= 1
ptr += 9
end
tape[ptr] += 1
while tape[ptr] != 0
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] += 1
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] += 1
tape[ptr + 1] += 1
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 3
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 4] += 1
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 1] -= 1
tape[ptr - 5] += 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr -= 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
tape[ptr + 4] += 2
end
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 5] += 1
end
tape[ptr - 1] -= 1
tape[ptr] += 1
ptr += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr -= 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
end
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 6] += 1
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] -= 1
end
tape[ptr] += 1
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] -= 1
ptr += 9
while tape[ptr] != 0
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] -= 1
end
tape[ptr] += 1
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 6
while tape[ptr] != 0
ptr += 9
end
tape[ptr + 1] += 1
end
end
tape[ptr] += 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] -= 1
end
tape[ptr] += 1
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] += 1
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 5
while tape[ptr] != 0
ptr += 9
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr -= 1
end
end
tape[ptr] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr -= 1
while tape[ptr] != 0
ptr += 9
end
ptr -= 8
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] -= 1
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr += 8
end
tape[ptr - 8] += 1
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] -= 1
tape[ptr - 10] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
ptr -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
tape[ptr - 11] += 1
end
ptr -= 2
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
tape[ptr - 11] += 1
end
ptr -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
ptr -= 12
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr -= 4
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 1] -= 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 8
end
tape[ptr - 8] += 1
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
tape[ptr - 11] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
end
ptr += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] -= 1
tape[ptr - 10] += 1
end
ptr -= 1
end
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] -= 1
tape[ptr - 10] += 1
end
ptr += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
end
ptr -= 11
end
tape[ptr + 6] += 1
end
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 9
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] -= 1
tape[ptr - 10] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
ptr -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
tape[ptr - 11] += 1
end
ptr -= 2
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
tape[ptr - 11] += 1
end
ptr -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
ptr -= 12
end
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 5
while tape[ptr] != 0
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 6
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
tape[ptr + 1] += 1
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] += 15
ptr += 9
while tape[ptr] != 0
while tape[ptr] != 0
ptr += 9
end
tape[ptr] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] -= 1
ptr += 9
end
tape[ptr] += 1
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] -= 1
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] += 1
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
tape[ptr + 3] += 1
end
tape[ptr] += 1
ptr += 9
end
ptr -= 8
while tape[ptr] != 0
ptr -= 9
end
end
ptr += 9
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr -= 10
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
tape[ptr - 1] += 1
ptr += 7
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 1] -= 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
ptr -= 2
while tape[ptr] != 0
tape[ptr - 1] -= 1
tape[ptr] -= 1
tape[ptr - 7] += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 3
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
tape[ptr - 1] += 1
ptr -= 10
end
ptr += 9
while tape[ptr] != 0
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 36] += 1
end
ptr += 6
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr + 4] += 15
ptr += 4
while tape[ptr] != 0
while tape[ptr] != 0
ptr += 9
end
tape[ptr - 9] -= 1
ptr -= 18
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] -= 1
ptr += 9
end
tape[ptr] += 1
while tape[ptr] != 0
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] -= 1
end
tape[ptr] += 1
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 5
while tape[ptr] != 0
ptr += 9
end
tape[ptr + 1] += 1
end
end
tape[ptr] += 1
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] -= 1
end
tape[ptr] += 1
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 6
while tape[ptr] != 0
ptr += 9
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr -= 1
end
end
tape[ptr] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr -= 1
while tape[ptr] != 0
ptr += 9
end
ptr -= 8
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] -= 1
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
ptr += 8
end
tape[ptr - 8] += 1
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 1] -= 1
tape[ptr - 11] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] += 1
end
ptr -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] -= 1
tape[ptr - 12] += 1
end
ptr -= 3
end
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 1] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] -= 1
tape[ptr - 12] += 1
end
ptr -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] += 1
end
ptr -= 13
end
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] -= 1
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr += 8
end
tape[ptr - 8] += 1
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] -= 1
tape[ptr - 12] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 1] += 1
end
ptr += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 1] -= 1
tape[ptr - 11] += 1
end
ptr -= 2
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 1] -= 1
tape[ptr - 11] += 1
end
ptr += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 1] += 1
end
ptr -= 12
end
tape[ptr + 5] += 1
end
ptr += 9
while tape[ptr] != 0
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 4
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 5
while tape[ptr] != 0
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 6] += 1
end
ptr -= 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 6] += 1
tape[ptr + 2] += 1
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 4] += 1
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 1] -= 1
tape[ptr - 5] += 1
end
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
tape[ptr + 4] += 2
end
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 5] += 1
end
tape[ptr - 1] -= 1
tape[ptr] += 1
ptr += 2
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr -= 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
end
tape[ptr] += 1
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] -= 1
end
tape[ptr] += 1
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] -= 1
ptr += 9
while tape[ptr] != 0
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] -= 1
end
tape[ptr] += 1
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] += 1
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 5
while tape[ptr] != 0
ptr += 9
end
tape[ptr + 1] += 1
end
end
tape[ptr] += 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] -= 1
end
tape[ptr] += 1
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 6
while tape[ptr] != 0
ptr += 9
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr -= 1
end
end
tape[ptr] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr -= 1
while tape[ptr] != 0
ptr += 9
end
ptr -= 8
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 1] -= 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 8
end
tape[ptr - 8] += 1
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] -= 1
tape[ptr - 11] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
ptr += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
tape[ptr - 10] += 1
end
ptr -= 1
end
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
tape[ptr - 10] += 1
end
ptr += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
ptr -= 11
end
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] += 1
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] += 1
tape[ptr + 5] += 1
end
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] -= 1
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr += 8
end
tape[ptr - 8] += 1
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
tape[ptr - 10] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] -= 1
tape[ptr - 11] += 1
end
ptr -= 2
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] -= 1
tape[ptr - 11] += 1
end
ptr -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr -= 12
end
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr -= 4
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] += 1
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] += 1
tape[ptr + 5] += 1
end
ptr += 9
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
tape[ptr - 10] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] -= 1
tape[ptr - 11] += 1
end
ptr -= 2
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] -= 1
tape[ptr - 11] += 1
end
ptr -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr -= 12
end
end
ptr += 9
while tape[ptr] != 0
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 6
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 5
while tape[ptr] != 0
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
tape[ptr + 1] += 1
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 5] += 1
end
ptr -= 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
tape[ptr + 2] += 1
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] += 15
ptr += 9
while tape[ptr] != 0
while tape[ptr] != 0
ptr += 9
end
tape[ptr] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] -= 1
ptr += 9
end
tape[ptr] += 1
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] -= 1
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 2] += 1
end
ptr -= 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
tape[ptr + 4] += 1
end
tape[ptr] += 1
ptr += 9
end
ptr -= 8
while tape[ptr] != 0
ptr -= 9
end
end
ptr += 9
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr -= 10
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
tape[ptr - 1] += 1
ptr += 7
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 1] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
ptr -= 3
while tape[ptr] != 0
tape[ptr - 1] -= 1
tape[ptr] -= 1
tape[ptr - 6] += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 4
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
tape[ptr - 1] += 1
ptr -= 10
end
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] -= 1
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 5] += 1
end
ptr -= 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
tape[ptr + 4] += 1
end
tape[ptr] += 1
ptr += 9
end
ptr -= 8
while tape[ptr] != 0
ptr -= 9
end
end
ptr += 9
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr -= 11
end
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
tape[ptr - 2] += 1
ptr += 6
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 1] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
ptr -= 3
while tape[ptr] != 0
tape[ptr - 1] -= 1
tape[ptr] -= 1
tape[ptr - 6] += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 4
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
end
tape[ptr - 1] += 1
ptr -= 10
end
ptr += 9
while tape[ptr] != 0
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 36] += 1
end
ptr += 5
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] += 15
ptr += 9
while tape[ptr] != 0
while tape[ptr] != 0
ptr += 9
end
tape[ptr - 9] -= 1
ptr -= 18
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 9] -= 1
ptr += 9
end
tape[ptr] += 1
tape[ptr + 21] += 1
ptr += 18
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] -= 1
end
tape[ptr] += 1
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] -= 1
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 5
while tape[ptr] != 0
ptr += 9
end
tape[ptr + 1] += 1
end
end
tape[ptr] += 1
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] -= 1
end
tape[ptr] += 1
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 3] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 6
while tape[ptr] != 0
ptr += 9
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr -= 1
end
end
tape[ptr] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr -= 1
while tape[ptr] != 0
ptr += 9
end
ptr -= 8
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 2] -= 1
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] += 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr -= 2
end
ptr += 2
end
tape[ptr - 2] += 1
ptr += 2
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] -= 1
end
tape[ptr] += 1
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] -= 1
ptr -= 2
putc(tape[ptr].chr)
ptr += 2
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
ptr -= 7
putc(tape[ptr].chr)
ptr += 7
end
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 3
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 3
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 4
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 1] += 11
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr += 9
end
tape[ptr + 4] += 1
tape[ptr + 13] += 1
ptr -= 1
while tape[ptr] != 0
ptr -= 9
end
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] += 1
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] += 1
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 2
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 6] += 1
end
ptr -= 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 6] += 1
ptr -= 1
while tape[ptr] != 0
ptr -= 9
end
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 3
end
ptr -= 10
end
end
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] += 1
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] += 1
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 4] -= 1
end
ptr -= 4
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 4] += 1
end
ptr += 8
end
tape[ptr - 2] += 1
ptr -= 9
while tape[ptr] != 0
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr -= 14
end
ptr += 9
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 1] -= 1
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] += 1
ptr -= 6
while tape[ptr] != 0
tape[ptr - 1] -= 1
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 7
end
ptr -= 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 6] += 1
end
tape[ptr - 1] += 1
ptr -= 10
end
tape[ptr + 7] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr -= 3
end
tape[ptr] += 1
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] -= 1
end
tape[ptr] += 1
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] -= 1
ptr += 9
while tape[ptr] != 0
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr += 4
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 1] -= 1
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] += 1
ptr -= 6
while tape[ptr] != 0
tape[ptr - 1] -= 1
tape[ptr] -= 1
tape[ptr - 3] += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 7
end
ptr -= 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 6] += 1
end
tape[ptr - 1] += 1
ptr -= 10
end
tape[ptr + 1] += 5
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr += 9
end
tape[ptr + 4] += 1
ptr -= 1
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 5] -= 1
end
tape[ptr] += 1
ptr -= 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] -= 1
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] += 1
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 5
while tape[ptr] != 0
ptr += 9
end
tape[ptr + 1] += 1
end
end
tape[ptr] += 1
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] -= 1
end
tape[ptr] += 1
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] -= 1
ptr += 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 5] += 1
end
ptr -= 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 6
while tape[ptr] != 0
ptr += 9
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr -= 1
end
end
tape[ptr] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr -= 1
while tape[ptr] != 0
ptr += 9
end
ptr -= 8
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 3] += 5
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr += 9
end
tape[ptr + 4] -= 1
ptr -= 1
while tape[ptr] != 0
ptr -= 9
end
end
ptr += 3
end
ptr -= 4
putc(tape[ptr].chr)
ptr += 10
while tape[ptr] != 0
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 3
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
tape[ptr + 1] += 10
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr += 9
end
tape[ptr + 5] += 1
tape[ptr + 14] += 1
ptr -= 1
while tape[ptr] != 0
ptr -= 9
end
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 8] += 1
end
ptr -= 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 8] += 1
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
end
ptr += 1
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 7] += 1
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] += 1
ptr -= 1
while tape[ptr] != 0
ptr -= 9
end
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 2
end
ptr -= 10
end
end
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 8] += 1
end
ptr -= 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 8] += 1
ptr += 9
while tape[ptr] != 0
tape[ptr + 1] += 1
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 5] -= 1
end
ptr -= 5
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 5] += 1
end
ptr += 8
end
tape[ptr - 1] += 1
ptr -= 9
while tape[ptr] != 0
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr -= 15
end
ptr += 9
while tape[ptr] != 0
ptr += 9
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 1] -= 1
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 8] += 1
ptr -= 7
while tape[ptr] != 0
tape[ptr - 1] -= 1
tape[ptr] -= 1
tape[ptr - 2] += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 8
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] += 1
end
tape[ptr - 1] += 1
ptr -= 10
end
tape[ptr + 8] -= 1
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr -= 3
end
tape[ptr] += 1
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 8] -= 1
end
tape[ptr] += 1
ptr -= 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 8] -= 1
ptr += 9
while tape[ptr] != 0
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 2] += 1
end
ptr += 3
end
ptr -= 9
while tape[ptr] != 0
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 1] -= 1
ptr += 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 8] += 1
ptr -= 7
while tape[ptr] != 0
tape[ptr - 1] -= 1
tape[ptr] -= 1
tape[ptr - 2] += 1
end
ptr -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 1] += 1
end
ptr += 8
end
ptr -= 7
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 7] += 1
end
tape[ptr - 1] += 1
ptr -= 10
end
tape[ptr + 1] += 5
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr += 9
end
tape[ptr + 5] += 1
tape[ptr + 32] += 1
ptr += 26
while tape[ptr] != 0
ptr -= 9
end
ptr += 9
while tape[ptr] != 0
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 6] -= 1
end
tape[ptr] += 1
ptr -= 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 6] -= 1
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 8] += 1
end
ptr -= 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 8] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 5
while tape[ptr] != 0
ptr += 9
end
tape[ptr + 1] += 1
end
end
tape[ptr] += 1
ptr += 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 8] -= 1
end
tape[ptr] += 1
ptr -= 8
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 8] -= 1
ptr += 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr - 6] += 1
end
ptr -= 6
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 6] += 1
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 3
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr += 6
while tape[ptr] != 0
ptr += 9
end
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr] += 1
ptr -= 1
end
end
tape[ptr] += 1
ptr += 1
while tape[ptr] != 0
tape[ptr] -= 1
ptr -= 1
while tape[ptr] != 0
ptr += 9
end
ptr -= 8
end
ptr += 8
end
ptr -= 9
while tape[ptr] != 0
ptr -= 9
end
ptr += 4
while tape[ptr] != 0
tape[ptr] -= 1
end
tape[ptr - 3] += 5
ptr -= 3
while tape[ptr] != 0
tape[ptr] -= 1
while tape[ptr] != 0
tape[ptr] -= 1
tape[ptr + 9] += 1
end
ptr += 9
end
tape[ptr + 5] -= 1
tape[ptr + 32] -= 1
ptr += 26
while tape[ptr] != 0
ptr -= 9
end
end
ptr += 3
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment