p gets.chars.map{|c| "_1234567890".index(c) || 0}.sum