program to print how many comman elemnts are there in the ist code example
Example: same elements of two sets in python
x = {2, 3, 5, 6}
y = {1, 2, 3, 4}
z = x.intersection(y)
x = {2, 3, 5, 6}
y = {1, 2, 3, 4}
z = x.intersection(y)