Maximum difference is between the fifth and fourth ionisation energy. (Removal of the 5 th electron requires almost more than double the energy required to remove the 4 th electron.) This implies that the first four electrons are removed from the valence shell. Hence, number of valence electrons in the atom 'X' will be four.