Which of the following sets of atomic numbers corresponds to elements belonging to s, d, f, p blocks respectively?