p gets.chars.inject(0){|s,i|s+i.to_i}