def ul(char): if char.isupper(): return char.lower() else: return char ichar=input() result=ul(ichar) print(result)