print("Welcome to the CAPITALIZER")
msg = input("type a phrase: ")
#msg = "The quick brown fox jumps over the lazy dog."
cap_str = ""

# only capitalize lowercase letters (97-122)
for ch in msg:
    # do a thing
    if(97 <= ord(ch) <= 122):
        cap_str += chr(ord(ch)-32)        

    # don't do a thing
    else:
        cap_str += ch

print("Your capitalized string:", cap_str)
print("\nThank you for playing.")
