A3行

 
1 2 3

B4行

 
1 2 3 4

resultA2行

AにあってBに無い
1 2

resultB3行

BにあってAに無い
1 2 3

resultCommon1行

A,B両方にある
1