The mass number of two atoms X and Y is the same (40 each) but their atomic numbers are different (being 20 and 18 respectively). X and Y are examples of:

X and Y are examples of isobars.

36