s="ABCDEFGHIJKLMNOPQRSTUVWXYZ" while s:print s;s=s[:-1]+chr(ord(s[-1])+32);print s;s=s[:-1]