puts gets.each_char.inject(0){|s,i|s+i.to_i}