# Arup Guha
# Prints out a shift chart
# 8/24/2022

# Column header.
print("  ", end="")
for let in range(26):
    print(chr(ord('a')+let), end=" ");
print()

# This is the key we are trying
for key in range(26):

    print(key, end= " ")

    # let is the numerical value of the letter.
    for let in range(26):

        # ord returns the ascii value of the input character.
        # chr takes in an ascii value and returns the corresponding char.
        cipher = chr((let+key)%26 + ord('a'))

        print(cipher, end=" ")

    print()
