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