s=input("Enter a string:")
print(s.lower())
print(s.upper())