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