input A
input B
merge
output SAME-MERGED
output in A, not in B
output in B, not in A