i have two arrays (A and B)and their elements should be entered by the user, then there is the third array which contains only the common elements between (A and B). so how