#!/usr/bin/env python3

# Lab 10, Objective 1

r_ciph = ""
user_text = input("Please enter text to encode: ")
for c in reversed(user_text):
    r_ciph = r_ciph + chr(ord(c)+1)
    
print("Secret code: ",r_ciph)