s = gets.strip
d = s.each_char.to_a
d[0..1] = ["-#{d[1]}"] if s[0] == '-'
r = s.to_i + s.size + d.map(&:to_i).inject(&:+)
puts "#{s}+#{s.size}+(#{d.join '+'})=#{r}"
cyA9IGdldHMuc3RyaXAKZCA9IHMuZWFjaF9jaGFyLnRvX2EKZFswLi4xXSA9IFsiLSN7ZFsxXX0iXSBpZiBzWzBdID09ICctJwpyID0gcy50b19pICsgcy5zaXplICsgZC5tYXAoJjp0b19pKS5pbmplY3QoJjorKQpwdXRzICIje3N9KyN7cy5zaXplfSsoI3tkLmpvaW4gJysnfSk9I3tyfSI=