while 1:print reduce(lambda r,c:r+'=<>'[cmp(c,r[-1])]+c,raw_input()[::2])