print "similarity of '", show("$words1[$i]#1"), "' and '", show("$words2[$j]#1"), "' = $value\n";