def user(my_string): base_ord = ord('A') total_chr = ord('Z') - base_ord + 1 user_string = str() for i, character in enumerate(my_string, start=1): new_ord = (ord(character) - i + base_ord) % total_chr + base_ord user_string += chr(new_ord) return user_string if __name__ == '__main__': print(user(input()))