Assuming that the number of maximum permissible shells is 5.
Then 1s22s22p63s23p64s23d104p65s24d105p6;Z=54, so 6th shell not permitted
Only 54 elements would be present in the periodic table