s=raw_input().upper() print' '.join(s) for l in s[1:]:print l