Caesar meets BF
Caesar is tired of enciphering his messages with his secret method (see Caesar's Cipher exercise). He wants to use some device to automate the work.
However he had been living almost
2000 years before ordinary computers were invented so he can only use
Brainfuck-based calculator left by UFO.
Please help him to create a BF program which can encrypt the line of text. You can base it on your solution for Copy Line exercise.
You are allowed to use stack operations
Input data will contain a line of uppercase latin letters with spaces, terminated by single dot.
Answer should give the encrypted line according to following rules:
Zis substituted by
input data: THERE ARE ZOUNDS OF GAELIC WARRIORS. answer: UIFSF BSF APVOET PG HBFMJD XBSSJPST