str=input("enter a string : ")
print(str.upper())
print(str.lower())