input A
input B
compare
output SAME
output in A, not in B
output in B, not in A