r=raw_input while 1:print''.join(' -_'[x]for x in map(cmp,r(),r()))