while 1:print"".join(" "*(c<'a')+c.lower()for c in raw_input())