while True:
try:
c = input().strip()
if c:
print(c.lower())
except EOFError:
break

while True:
try:
c = input().strip()
if c:
print(c.lower())
except EOFError:
break