a,b,c,=$<.map &:chars p b.zip(c).count{|x,y|x!=y}