a='_*+,/+,*-,/-' b=c=['%s','(%s)'] d=b.pop while 1: for e in raw_input(): _=e if _