_=raw_input() a='##' while _:a+=' #'[' "'<_<'# #'];_=_[1:] print a