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