def change(code,key): code= code.lower() m = ord(code) if m >= 97 and m <= 122: m = 97 + ((m - 97) + key) % 26 return chr(m) def encrypt(code,key): code_new ="" for s in code: code_new += __________ return code_new def decrypt(code,key): code_new ="" for s in code: m=ord(s) if m >= 97 and m <= 122: __________ code_new += chr(m) return code_new select = input() code=input() key=int(input()) if select=="1": result=encrypt(code, key) elif select=="2": result=decrypt(code,key) print(result)