import string, sys

def crypt(m, k): print(m.translate(str.maketrans(s:=string.printable[:-5], s[-k%len(s):] + s[:-k%len(s)])))

if __name__ == "__main__":
    try: crypt(sys.argv[1], int(sys.argv[2]))
    except: print("./caesar_micro.py [message] [key]\n[message]: Raw message as an ascii string\n[key]: Integer. Positive is encrypt, negative is decrypt")
import string, sys

def crypt(m, k): print(m.translate(str.maketrans(s:=string.printable[:-5], s[-k%len(s):] + s[:-k%len(s)])))

if __name__ == "__main__":
    try: crypt(sys.argv[1], int(sys.argv[2]))
    except: print("./caesar_micro.py [message] [key]\n[message]: Raw message as an ascii string\n[key]: Integer. Positive is encrypt, negative is decrypt")