while 1:n=int(input());v=1e5;s='';exec("v/=2+(v%9>3)/2;s+='+%d'%v*int(n/v);n%=v;"*15);print(s[1:])