a=*$<.bytes x=a.reduce:^ puts [("%x"%x).sub(/\B/){a.map{|e|"%2x".%e^x}}].pack"H*"