_=0 r='' for x in raw_input()+' ':_+=_-ord(x)%2;r+=' #'[_%8/4] print r