compare return the numbers of the same, diff, etc.